CIvfNormalList Class Reference
#include <ivf/IvfNormalList.h>
Inheritance diagram for CIvfNormalList:
List of all members.
Detailed Description
Normal list class
Maintains a list of normals 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 IvfNormalList.h.
Constructor & Destructor Documentation
CIvfNormalList::CIvfNormalList |
( |
|
) |
|
|
virtual CIvfNormalList::~CIvfNormalList |
( |
|
) |
[virtual] |
|
Member Function Documentation
void CIvfNormalList::add |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
|
|
void CIvfNormalList::clear |
( |
|
) |
|
|
void* CIvfNormalList::getData |
( |
|
) |
|
|
|
Return the pointer of the array |
GLenum CIvfNormalList::getDataType |
( |
|
) |
|
|
|
Returns the array data type in this case GL_FLOAT |
void CIvfNormalList::getNormal |
( |
int |
idx, |
|
|
double & |
x, |
|
|
double & |
y, |
|
|
double & |
z |
|
) |
|
|
|
Return normal at position idx |
int CIvfNormalList::getSize |
( |
|
) |
|
|
|
Return the number of normals in the list |
GLsizei CIvfNormalList::getStride |
( |
|
) |
|
|
|
Return the array stride in this case 3 |
The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:54 2006 for Interactive Visualisation Framework - Ivf++ by
1.4.6-NO