1 #ifndef COIN_SONORMALGENERATOR_H
2 #define COIN_SONORMALGENERATOR_H
27 #include <Inventor/SbVec3f.h>
28 #include <Inventor/SbBSPTree.h>
29 #include <Inventor/lists/SbList.h>
30 #include <Inventor/system/inttypes.h>
37 void reset(
const SbBool ccw);
40 void polygonVertex(
const SbVec3f &v);
43 void triangle(
const SbVec3f &v0,
51 void generate(
const float creaseAngle,
52 const int32_t * striplens = NULL,
53 const int numstrips = 0);
55 void generatePerStrip(
const int32_t * striplens,
57 void generatePerFace(
void);
58 void generateOverall(
void);
61 int getNumNormals()
const;
62 void setNumNormals(
const int num);
63 const SbVec3f *getNormals()
const;
64 const SbVec3f & getNormal(
const int32_t i)
const;
65 void setNormal(
const int32_t index,
const SbVec3f &normal);
81 #endif // !COIN_SONORMALGENERATOR_H
The SbBSPTree class provides a binary space partitioning container.This class can be used to organize...
Definition: SbBSPTree.h:45
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SoNormalGenerator class is used to generate normals.FIXME: document properly. ...
Definition: SoNormalGenerator.h:32