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);
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);
71 const unsigned int numcoords,
72 const int32_t *coordindices,
73 const int numcoorindices,
77 const unsigned int numcoords,
78 const int32_t *coordindices,
79 const int numcoorindices,
83 const unsigned int numcoords,
84 const int32_t *coordindices,
85 const int numcoorindices,
89 const unsigned int numcoords,
95 const unsigned int numcoords,
101 const unsigned int numcoords,
103 const int vPerColumn,
107 SoNormalCacheP * pimpl;
108 void clearGenerator(
void);
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition SbVec3f.h:51
SoCache(SoState *const state)
Definition SoCache.cpp:153
int getNumIndices(void) const
Definition SoNormalCache.cpp:181
void generatePerRowQuad(const SbVec3f *const coords, const unsigned int numcoords, const int vPerRow, const int vPerColumn, const SbBool ccw)
Definition SoNormalCache.cpp:1057
void set(const int num, const SbVec3f *const normals)
Definition SoNormalCache.cpp:129
SoNormalCache(SoState *const state)
Definition SoNormalCache.cpp:91
void generatePerStrip(const SbVec3f *const coords, const unsigned int numcoords, const int32_t *coordindices, const int numcoorindices, const SbBool ccw)
Definition SoNormalCache.cpp:767
const SbVec3f * getNormals(void) const
Definition SoNormalCache.cpp:168
void generatePerFaceQuad(const SbVec3f *const coords, const unsigned int numcoords, const int vPerRow, const int vPerColumn, const SbBool ccw)
Definition SoNormalCache.cpp:971
int getNum(void) const
Definition SoNormalCache.cpp:156
void generatePerFace(const SbVec3f *const coords, const unsigned int numcoords, const int32_t *coordindices, const int numcoorindices, const SbBool ccw)
Definition SoNormalCache.cpp:453
const int32_t * getIndices(void) const
Definition SoNormalCache.cpp:190
void generatePerVertex(const SbVec3f *const coords, const unsigned int numcoords, const int32_t *coordindices, const int numcoordindices, const float crease_angle, const SbVec3f *facenormals=NULL, const int numfacenormals=-1, const SbBool ccw=TRUE, const SbBool tristrip=FALSE)
Definition SoNormalCache.cpp:245
void generatePerVertexQuad(const SbVec3f *const coords, const unsigned int numcoords, const int vPerRow, const int vPerColumn, const SbBool ccw)
Definition SoNormalCache.cpp:904
void generatePerFaceStrip(const SbVec3f *const coords, const unsigned int numcoords, const int32_t *coordindices, const int numcoorindices, const SbBool ccw)
Definition SoNormalCache.cpp:608
The SoNormalGenerator class is used to generate normals.
Definition SoNormalGenerator.h:41
The SoState class manages the Coin scene graph traversal state data.
Definition SoState.h:44