1 #ifndef COIN_SONORMALCACHE_H     2 #define COIN_SONORMALCACHE_H    36 #include <Inventor/SbVec3f.h>    37 #include <Inventor/caches/SoCache.h>    38 #include <Inventor/system/inttypes.h>    50   void set(
const int num, 
const SbVec3f * 
const normals);
    53   int getNum(
void) 
const;
    54   const SbVec3f *getNormals(
void) 
const;
    56   int getNumIndices(
void) 
const;
    57   const int32_t *getIndices(
void) 
const;
    59   void generatePerVertex(
const SbVec3f * 
const coords,
    60                          const unsigned int numcoords,
    61                          const int32_t *coordindices,
    62                          const int numcoordindices,
    63                          const float crease_angle,
    64                          const SbVec3f *facenormals = NULL,
    65                          const int numfacenormals = -1,
    66                          const SbBool ccw = TRUE,
    67                          const SbBool tristrip = FALSE);
    70   void generatePerFace(
const SbVec3f * 
const coords,
    71                        const unsigned int numcoords,
    72                        const int32_t *coordindices,
    73                        const int numcoorindices,
    76   void generatePerFaceStrip(
const SbVec3f * 
const coords,
    77                             const unsigned int numcoords,
    78                             const int32_t *coordindices,
    79                             const int numcoorindices,
    82   void generatePerStrip(
const SbVec3f * 
const coords,
    83                         const unsigned int numcoords,
    84                         const int32_t *coordindices,
    85                         const int numcoorindices,
    88   void generatePerVertexQuad(
const SbVec3f * 
const coords,
    89                              const unsigned int numcoords,
    94   void generatePerFaceQuad(
const SbVec3f * 
const coords,
    95                            const unsigned int numcoords,
   100   void generatePerRowQuad(
const SbVec3f * 
const coords,
   101                           const unsigned int numcoords,
   103                           const int vPerColumn,
   107   SoNormalCacheP * pimpl;
   108   void clearGenerator(
void);
   111 #endif // !COIN_SONORMALCACHE_H The SoNormalCache class is used to hold cached normals.As an extension to the original SGI Open Inven...
Definition: SoNormalCache.h:43
 
The SoState class manages the Coin scenegraph traversal state data.The SoState class is used by actio...
Definition: SoState.h:44
 
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
 
The SoNormalGenerator class is used to generate normals.FIXME: document properly. ...
Definition: SoNormalGenerator.h:41
 
The SoCache class is the superclass for all internal cache classes.It organizes reference counting to...
Definition: SoCache.h:43