1 #ifndef COIN_SBTESSELATOR_H
2 #define COIN_SBTESSELATOR_H
36 #include <Inventor/SbBasic.h>
37 #include <Inventor/tools/SbPimplPtr.h>
38 #include <Inventor/SbVec3f.h>
41 typedef void SbTesselatorCB(
void * v0,
void * v1,
void * v2,
void * data);
45 SbTesselator(SbTesselatorCB * func = NULL,
void * data = NULL);
48 void beginPolygon(
SbBool keepVertices = FALSE,
50 void addVertex(
const SbVec3f &v,
void * data);
51 void endPolygon(
void);
52 void setCallback(SbTesselatorCB * func,
void * data);
63 #endif // !COIN_SBTESSELATOR_H
The SbTesselator class is used to tessellate polygons into triangles.
Definition: SbTesselator.h:43
The SbVec3f class is a 3 dimensional vector with floating point coordinates.
Definition: SbVec3f.h:51