CIvfColorList Class Reference
#include <ivf/IvfColorList.h>
Inheritance diagram for CIvfColorList:
List of all members.
Detailed Description
Color list class
Maintains a list of colors for use with the CIvfVertexElements class. The list is initially 1024 elements and the size is doubled if exceeding 1024.
- Author:
- Jonas Lindemann
Definition at line 43 of file IvfColorList.h.
Constructor & Destructor Documentation
CIvfColorList::CIvfColorList |
( |
|
) |
|
|
virtual CIvfColorList::~CIvfColorList |
( |
|
) |
[virtual] |
|
Member Function Documentation
void CIvfColorList::add |
( |
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
|
|
void CIvfColorList::clear |
( |
|
) |
|
|
void CIvfColorList::getColor |
( |
int |
idx, |
|
|
float & |
red, |
|
|
float & |
green, |
|
|
float & |
blue |
|
) |
|
|
GLint CIvfColorList::getCompSize |
( |
|
) |
|
|
|
Returns the number of color components for each color (3) |
void* CIvfColorList::getData |
( |
|
) |
|
|
|
Return the pointer to the array |
GLenum CIvfColorList::getDataType |
( |
|
) |
|
|
|
Returns array datatype, in this case GL_FLOAT |
int CIvfColorList::getSize |
( |
|
) |
|
|
|
Returns the number of colors in the list |
GLsizei CIvfColorList::getStride |
( |
|
) |
|
|
|
Returns the array stride, in this case 3*sizeof(GLfloat) |
The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:49 2006 for Interactive Visualisation Framework - Ivf++ by
1.4.6-NO