36 #include <Inventor/lists/SbList.h> 37 #include <Inventor/SbVec3f.h> 43 typedef void * SbClipCallback(
const SbVec3f & v0,
void * vdata0,
44 const SbVec3f & v1,
void * vdata1,
50 SbClip(SbClipCallback * callback = NULL,
void * userdata = NULL);
52 void addVertex(
const SbVec3f &v,
void * vdata = NULL);
55 void clip(
const SbPlane & plane);
57 int getNumVertices(
void)
const;
58 void getVertex(
const int idx,
SbVec3f & v,
void ** vdata = NULL)
const;
59 void * getVertexData(
const int idx)
const;
65 SbClipData(
const SbVec3f & v,
void * data)
69 void get(
SbVec3f &v,
void *& dataref) {
78 SbClipCallback * callback;
82 void outputVertex(
const SbVec3f &v,
void * data);
86 #endif // !COIN_SBCLIP_H The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:49
The SbClip class is a generic polygon clipper class.It is used by first adding all vertices in the po...
Definition: SbClip.h:48
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:51
The SbPlane class represents a plane in 3D space.SbPlane is used by many other classes in Coin...
Definition: SbPlane.h:43