#include <ivf/IvfVertexList.h>
Inheritance diagram for CIvfVertexList:
Public Member Functions | |
CIvfVertexList () | |
virtual | ~CIvfVertexList () |
IvfClassInfo ("CIvfVertexList", CIvfBase) | |
void | add (double x, double y, double z) |
void | setVertex (int idx, double x, double y, double z) |
void | getVertex (int idx, double &x, double &y, double &z) |
CIvfVec3d & | getVertex (int idx) |
void | setSize (int size) |
int | getSize () |
void * | getData () |
GLenum | getDataType () |
GLsizei | getStride () |
GLint | getCompSize () |
Protected Member Functions | |
void | setComp (int idx, double value) |
double | getComp (int idx) |
void | add (double comp) |
Maintains a list of vertex coordinates for use with the CIvfVertexElements class. The list is initially 1024 elements and the size is doubled if exceeding 1024.
Definition at line 44 of file IvfVertexList.h.
|
CIvfVertexList constructor |
|
CIvfVertexList destructor |
|
Add vertex coordinate |
|
Return the number of components in the list, in this case 3 |
|
Returns pointer to array |
|
Return datatype of array, in this case GL_FLOAT |
|
Return size of vertex list |
|
Return array stride, in this case 3*sizeof(GLfloat) |
|
Get specified vertex coordinate param idx should be between 0 to getSize()-1 |
|
Get specified vertex coordinate param idx should be between 0 to getSize()-1 |
|
Set size of vertex list |
|
Set specified vertex coordinate param idx should be between 0 to getSize()-1 |