1 #ifndef COIN_SOVERTEXSHAPE_H
2 #define COIN_SOVERTEXSHAPE_H
27 #include <Inventor/nodes/SoSubNode.h>
28 #include <Inventor/nodes/SoShape.h>
29 #include <Inventor/fields/SoSFNode.h>
32 #include <Inventor/nodes/SoVertexProperty.h>
33 #endif // !COIN_INTERNAL
38 class SoTextureCoordinateElement;
39 class SoCoordinateElement;
53 virtual SbBool generateDefaultNormals(
SoState * state,
54 SoNormalBundle * bundle);
55 virtual SbBool generateDefaultNormals(
SoState * state,
56 SoNormalCache * cache);
65 void setNormalCache(
SoState *
const state,
66 const int num,
const SbVec3f * normals);
67 SoNormalCache * getNormalCache(
void)
const;
69 SoNormalCache * generateAndReadLockNormalCache(
SoState *
const state);
70 void getVertexData(
SoState * state,
71 const SoCoordinateElement *& coords,
73 const SbBool neednormals);
75 void readLockNormalCache(
void);
76 void readUnlockNormalCache(
void);
79 void writeLockNormalCache(
void);
80 void writeUnlockNormalCache(
void);
81 SoVertexShapeP * pimpl;
84 #endif // !COIN_SOVERTEXSHAPE_H