1#ifndef COIN_SOINDEXEDSHAPE_H
2#define COIN_SOINDEXEDSHAPE_H
27#include <Inventor/nodes/SoSubNode.h>
28#include <Inventor/nodes/SoVertexShape.h>
29#include <Inventor/fields/SoMFInt32.h>
31class SoTextureCoordinateElement;
32class SoCoordinateElement;
40 static void initClass(
void);
53 void setupIndices(
const int numParts,
const int numFaces,
54 const SbBool needNormals,
const SbBool needTexCoords);
63 const SoCoordinateElement *& coords,
65 const int32_t *& cindices,
66 const int32_t *& nindices,
67 const int32_t *& tindices,
68 const int32_t *& mindices,
70 const SbBool needNormals,
71 SbBool & normalCacheUsed);
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:37
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:37
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:67
SoMFInt32 normalIndex
Definition SoIndexedShape.h:44
const int32_t * getColorIndices(void)
Definition SoIndexedShape.cpp:271
SoMFInt32 coordIndex
Definition SoIndexedShape.h:42
const int32_t * getNormalIndices(void)
Definition SoIndexedShape.cpp:257
SoMFInt32 textureCoordIndex
Definition SoIndexedShape.h:45
SoIndexedShape(void)
Definition SoIndexedShape.cpp:69
SoMFInt32 materialIndex
Definition SoIndexedShape.h:43
static SbBool areTexCoordsIndexed(SoAction *action)
Definition SoIndexedShape.cpp:212
const int32_t * getTexCoordIndices(void)
Definition SoIndexedShape.cpp:285
int getNumVerts(const int startCoord)
Definition SoIndexedShape.cpp:223
void setupIndices(const int numParts, const int numFaces, const SbBool needNormals, const SbBool needTexCoords)
Definition SoIndexedShape.cpp:241
The SoMFInt32 class is a container for 32-bit integer values.
Definition SoMFInt32.h:30
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
The SoState class manages the Coin scenegraph traversal state data.
Definition SoState.h:35
SoVertexShape(void)
Definition SoVertexShape.cpp:100
void getVertexData(SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals)
Definition SoVertexShape.cpp:268