CIvfTexCoordList Class Reference
#include <ivf/IvfTexCoordList.h>
Inheritance diagram for CIvfTexCoordList:
List of all members.
Detailed Description
Normal list class
Maintains a list of texture coords 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 44 of file IvfTexCoordList.h.
Constructor & Destructor Documentation
CIvfTexCoordList::CIvfTexCoordList |
( |
|
) |
|
|
virtual CIvfTexCoordList::~CIvfTexCoordList |
( |
|
) |
[virtual] |
|
Member Function Documentation
void CIvfTexCoordList::add |
( |
double |
s, |
|
|
double |
t |
|
) |
|
|
void CIvfTexCoordList::clear |
( |
|
) |
|
|
|
Clear texture coordinate list |
GLint CIvfTexCoordList::getCompSize |
( |
|
) |
|
|
|
Return number of components in array, in this case 2 |
void* CIvfTexCoordList::getData |
( |
|
) |
|
|
|
Returns a pointer to the array |
GLenum CIvfTexCoordList::getDataType |
( |
|
) |
|
|
|
Return array data type, in this case GL_FLOAT |
int CIvfTexCoordList::getSize |
( |
|
) |
|
|
|
Return size of coordinate list |
GLsizei CIvfTexCoordList::getStride |
( |
|
) |
|
|
|
Return array stride, in this case 2*sizeof(GLfloat) |
void CIvfTexCoordList::getVertex |
( |
int |
idx, |
|
|
double & |
s, |
|
|
double & |
t |
|
) |
|
|
|
Get specified texture coordinate
param idx should be between 0 to getSize()-1 |
void CIvfTexCoordList::setSize |
( |
int |
size |
) |
|
|
|
Set size of coordinate list |
void CIvfTexCoordList::setVertex |
( |
int |
idx, |
|
|
double |
s, |
|
|
double |
t |
|
) |
|
|
|
Set specified texture coordinate
param idx should be between 0 to getSize()-1 |
The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:58 2006 for Interactive Visualisation Framework - Ivf++ by
1.4.6-NO