A shape class that is similar to IndexedTriangleStripSet. The organized like a fan, where the first index is in the center of the fan, and the following indexes was the surrounding coordinates.
More...
List of all members.
Detailed Description
A shape class that is similar to IndexedTriangleStripSet. The organized like a fan, where the first index is in the center of the fan, and the following indexes was the surrounding coordinates.
1 2 3 4 5
6
I.e. a coordIndex sequence of : 6, 1, 2, 3, 4, 5, -1 creates the following triangles: 6-1-2, 6-2-3, 6-3-4, 6-4-5. This saves quite much mem compared with stripsets.
Member Enumeration Documentation
- Enumerator:
| OVERALL |
|
| PER_FAN |
|
| PER_FAN_INDEXED |
|
| PER_TRIANGLE |
|
| PER_TRIANGLE_INDEXED |
|
| PER_VERTEX |
|
| PER_VERTEX_INDEXED |
|
Constructor & Destructor Documentation
| SoIndexedTriangleFanSet::SoIndexedTriangleFanSet |
( |
|
) |
|
Member Function Documentation
| Binding SoIndexedTriangleFanSet::findMaterialBinding |
( |
SoState * |
|
) |
const [private] |
| Binding SoIndexedTriangleFanSet::findNormalBinding |
( |
SoState * |
|
) |
const [private] |
| SbBool SoIndexedTriangleFanSet::generateDefaultNormals |
( |
SoState * |
state, |
|
|
SoNormalCache * |
nc | |
|
) |
| | [protected] |
| void SoIndexedTriangleFanSet::generatePrimitives |
( |
SoAction * |
|
) |
[protected] |
| void SoIndexedTriangleFanSet::GLRender |
( |
SoGLRenderAction * |
|
) |
[protected] |
Does not work properly (TODO), use own normals instead
| static void SoIndexedTriangleFanSet::initClass |
( |
|
) |
[static] |