1#ifndef COIN_SOINDEXEDSHAPE_H
2#define COIN_SOINDEXEDSHAPE_H
36#include <Inventor/nodes/SoSubNode.h>
37#include <Inventor/nodes/SoVertexShape.h>
38#include <Inventor/fields/SoMFInt32.h>
61 void setupIndices(
const int numParts,
const int numFaces,
62 const SbBool needNormals,
const SbBool needTexCoords);
73 const int32_t *& cindices,
74 const int32_t *& nindices,
75 const int32_t *& tindices,
76 const int32_t *& mindices,
78 const SbBool needNormals,
79 SbBool & normalCacheUsed);
The SbBox3f class is an abstraction for an axis aligned 3 dimensional box.
Definition SbBox3f.h:46
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:77
The SoCoordinateElement class is yet to be documented.
Definition SoCoordinateElement.h:40
SoMFInt32 normalIndex
Definition SoIndexedShape.h:52
const int32_t * getColorIndices(void)
Definition SoIndexedShape.cpp:286
SoMFInt32 coordIndex
Definition SoIndexedShape.h:50
const int32_t * getNormalIndices(void)
Definition SoIndexedShape.cpp:272
SoMFInt32 textureCoordIndex
Definition SoIndexedShape.h:53
SoIndexedShape(void)
Definition SoIndexedShape.cpp:81
SoMFInt32 materialIndex
Definition SoIndexedShape.h:51
static SbBool areTexCoordsIndexed(SoAction *action)
Definition SoIndexedShape.cpp:227
const int32_t * getTexCoordIndices(void)
Definition SoIndexedShape.cpp:300
int getNumVerts(const int startCoord)
Definition SoIndexedShape.cpp:238
void setupIndices(const int numParts, const int numFaces, const SbBool needNormals, const SbBool needTexCoords)
Definition SoIndexedShape.cpp:256
The SoMFInt32 class is a container for 32-bit integer values.
Definition SoMFInt32.h:39
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44
static void initClass(void)
Definition SoVertexShape.cpp:136
SoVertexShape(void)
Definition SoVertexShape.cpp:150
void getVertexData(SoState *state, const SoCoordinateElement *&coords, const SbVec3f *&normals, const SbBool neednormals)
Definition SoVertexShape.cpp:313