GLTexture1D Class Reference

#include <GLTexture1D.h>

List of all members.

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


Detailed Description

Definition at line 6 of file GLTexture1D.h.


Constructor & Destructor Documentation

GLTexture1D::GLTexture1D (  ) 

Definition at line 5 of file GLTexture1D.cpp.

References texture, and width.

GLTexture1D::~GLTexture1D (  ) 

Definition at line 11 of file GLTexture1D.cpp.

References free().


Member Function Documentation

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 
)

Definition at line 26 of file GLTexture1D.cpp.

Referenced by GL3DView::GL3DView().

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().


Member Data Documentation

GLint GLTexture1D::filterType [private]

Definition at line 20 of file GLTexture1D.h.

Referenced by create().

GLuint GLTexture1D::texture [private]

Definition at line 19 of file GLTexture1D.h.

Referenced by create(), free(), getTexture(), GLTexture1D(), and updateSubImage().

Definition at line 20 of file GLTexture1D.h.

Referenced by create().

GLuint GLTexture1D::width [private]

Definition at line 19 of file GLTexture1D.h.

Referenced by getWidth(), and GLTexture1D().


The documentation for this class was generated from the following files:

Generated on Wed Dec 10 13:50:14 2008 for Tido Visualization by  doxygen 1.5.7.1