1 #ifndef COIN_SONORMALBUNDLE_H 2 #define COIN_SONORMALBUNDLE_H 36 #include <Inventor/bundles/SoBundle.h> 37 #include <Inventor/misc/SoNormalGenerator.h> 38 #include <Inventor/elements/SoGLNormalElement.h> 40 class SoNormalBundleP;
47 SbBool shouldGenerate(
int numneeded);
48 void initGenerator(
int initnum = 100);
49 void beginPolygon(
void);
50 void polygonVertex(
const SbVec3f & v);
51 void endPolygon(
void);
53 void triangle(
const SbVec3f & p1,
56 void generate(
int startindex = 0,
57 SbBool addtostate = TRUE);
58 const SbVec3f * getGeneratedNormals(
void)
const;
59 int getNumGeneratedNormals(
void)
const;
60 void set(int32_t num,
const SbVec3f * normals);
61 const SbVec3f &
get(
int index)
const;
62 void send(
int index)
const;
70 SoNormalBundleP * pimpl;
74 #endif // !COIN_SONORMALBUNDLE_H The SoGLNormalElement class is yet to be documented.
Definition: SoGLNormalElement.h:38
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:56
The SoNormalBundle class simplifies normal handling.
Definition: SoNormalBundle.h:42
The SoAction class is the base class for all traversal actions.
Definition: SoAction.h:77
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51
The SoBundle class is the superclass for all bundle classes.
Definition: SoBundle.h:42
The SoNormalElement class is yet to be documented.
Definition: SoNormalElement.h:40
The SoNormalGenerator class is used to generate normals.
Definition: SoNormalGenerator.h:41