1 #ifndef COIN_SONORMALGENERATOR_H 2 #define COIN_SONORMALGENERATOR_H 36 #include <Inventor/SbVec3f.h> 37 #include <Inventor/SbBSPTree.h> 38 #include <Inventor/lists/SbList.h> 39 #include <Inventor/system/inttypes.h> 46 void reset(
const SbBool ccw);
49 void polygonVertex(
const SbVec3f &v);
52 void triangle(
const SbVec3f &v0,
60 void generate(
const float creaseAngle,
61 const int32_t * striplens = NULL,
62 const int numstrips = 0);
64 void generatePerStrip(
const int32_t * striplens,
66 void generatePerFace(
void);
67 void generateOverall(
void);
70 int getNumNormals()
const;
71 void setNumNormals(
const int num);
72 const SbVec3f *getNormals()
const;
73 const SbVec3f & getNormal(
const int32_t i)
const;
74 void setNormal(
const int32_t index,
const SbVec3f &normal);
90 #endif // !COIN_SONORMALGENERATOR_H
The SbBSPTree class provides a binary space partitioning container.
Definition: SbBSPTree.h:54
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SoNormalGenerator class is used to generate normals.
Definition: SoNormalGenerator.h:41