1 #ifndef COIN_SONORMALBUNDLE_H 2 #define COIN_SONORMALBUNDLE_H 27 #include <Inventor/bundles/SoBundle.h> 28 #include <Inventor/misc/SoNormalGenerator.h> 29 #include <Inventor/elements/SoGLNormalElement.h> 31 class SoNormalBundleP;
38 SbBool shouldGenerate(
int numneeded);
39 void initGenerator(
int initnum = 100);
40 void beginPolygon(
void);
41 void polygonVertex(
const SbVec3f & v);
42 void endPolygon(
void);
44 void triangle(
const SbVec3f & p1,
47 void generate(
int startindex = 0,
48 SbBool addtostate = TRUE);
49 const SbVec3f * getGeneratedNormals(
void)
const;
50 int getNumGeneratedNormals(
void)
const;
51 void set(int32_t num,
const SbVec3f * normals);
52 const SbVec3f &
get(
int index)
const;
53 void send(
int index)
const;
61 SoNormalBundleP * pimpl;
65 #endif // !COIN_SONORMALBUNDLE_H The SoGLNormalElement class is yet to be documented.FIXME: write doc.
Definition: SoGLNormalElement.h:29
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoNormalBundle class simplifies normal handling.This class is currently not used in Coin but is p...
Definition: SoNormalBundle.h:33
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:68
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SoBundle class is the superclass for all bundle classes.
Definition: SoBundle.h:33
The SoNormalElement class is yet to be documented.FIXME: write doc.
Definition: SoNormalElement.h:31
The SoNormalGenerator class is used to generate normals.FIXME: document properly. ...
Definition: SoNormalGenerator.h:32