#include <GLTexture1D.h>
Public Member Functions | |
GLTexture1D () | |
~GLTexture1D () | |
GLuint | getTexture () |
GLuint | getWidth () |
void | setTypes (GLuint textureColorType, GLuint filterType) |
void | create (GLuint width) |
bool | updateSubImage (GLuint xOffset, GLuint width, GLuint format, GLuint type, void *data) |
void | free () |
Private Attributes | |
GLuint | texture |
GLuint | width |
GLint | textureColorType |
GLint | filterType |
Definition at line 6 of file GLTexture1D.h.
GLTexture1D::GLTexture1D | ( | ) |
GLTexture1D::~GLTexture1D | ( | ) |
void GLTexture1D::create | ( | GLuint | width | ) |
Definition at line 32 of file GLTexture1D.cpp.
References filterType, free(), texture, and textureColorType.
Referenced by GL3DView::initializeGL().
void GLTexture1D::free | ( | ) |
Definition at line 105 of file GLTexture1D.cpp.
References texture.
Referenced by create(), GL3DView::uninitializeGL(), and ~GLTexture1D().
GLuint GLTexture1D::getTexture | ( | ) |
Definition at line 16 of file GLTexture1D.cpp.
References texture.
Referenced by GL3DView::drawVolume().
GLuint GLTexture1D::getWidth | ( | ) |
Definition at line 21 of file GLTexture1D.cpp.
References width.
Referenced by GL3DView::loadTransferFunction().
void GLTexture1D::setTypes | ( | GLuint | textureColorType, | |
GLuint | filterType | |||
) |
bool GLTexture1D::updateSubImage | ( | GLuint | xOffset, | |
GLuint | width, | |||
GLuint | format, | |||
GLuint | type, | |||
void * | data | |||
) |
Definition at line 77 of file GLTexture1D.cpp.
References texture.
Referenced by GL3DView::loadTransferFunction().
GLint GLTexture1D::filterType [private] |
GLuint GLTexture1D::texture [private] |
Definition at line 19 of file GLTexture1D.h.
Referenced by create(), free(), getTexture(), GLTexture1D(), and updateSubImage().
GLint GLTexture1D::textureColorType [private] |
GLuint GLTexture1D::width [private] |