1 #ifndef INTERLEAVEDARRAYSSHAPE_H 2 #define INTERLEAVEDARRAYSSHAPE_H 36 #include <Inventor/nodes/SoSubNode.h> 37 #include <Inventor/nodes/SoVertexShape.h> 38 #include <Inventor/fields/SoMFInt32.h> 39 #include <Inventor/fields/SoSFEnum.h> 43 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) 44 #include <SoWinLeaveScope.h> 47 #include <SmallChange/basic.h> 86 SbBool shouldIncrementFaceIndex(Type type,
int i)
const;
89 int v0,
int v1,
int v2,
92 Binding findMaterialBinding(
SoState * state)
const;
93 Binding findNormalBinding(
SoState * state)
const;
94 void enableArrays(
SoGLRenderAction * action, SbBool normals, SbBool colors, SbBool texcoords);
95 void disableArrays(
SoGLRenderAction * action, SbBool normals, SbBool colors, SbBool texcoords);
96 void createVBO(uint32_t contextid);
97 void createIndexVBO(uint32_t contextid);
103 #if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) 104 #include <SoWinEnterScope.h> 107 #endif // INTERLEAVEDARRAYSSHAPE_H
#define SO_NODE_HEADER(classname)
virtual void GLRender(SoGLRenderAction *action)
SoSFEnum type
Definition: InterleavedArraysShape.h:67
virtual void notify(SoNotList *nl)
SoMFInt32 vertexIndex
Definition: InterleavedArraysShape.h:68
Definition: InterleavedArraysShape.h:61
Type
Definition: InterleavedArraysShape.h:58
Definition: InterleavedArraysShape.h:60
Definition: InterleavedArraysShape.h:59
virtual void getPrimitiveCount(SoGetPrimitiveCountAction *action)
static void initClass(void)
virtual void generatePrimitives(SoAction *action)=0
virtual void computeBBox(SoAction *action, SbBox3f &box, SbVec3f ¢er)=0
Definition: InterleavedArraysShape.h:62
The InterleavedArraysShape class is used to render static geometry very fast.
Definition: InterleavedArraysShape.h:49
virtual void rayPick(SoRayPickAction *action)