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.FIXME: write doc. 
Definition: SoGLNormalElement.h:38
 
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
 
The SoNormalBundle class simplifies normal handling.This class is currently not used in Coin but is p...
Definition: SoNormalBundle.h:42
 
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:77
 
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
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.FIXME: write doc. 
Definition: SoNormalElement.h:40
 
The SoNormalGenerator class is used to generate normals.FIXME: document properly. ...
Definition: SoNormalGenerator.h:41