27 #include <Inventor/lists/SbList.h>
28 #include <Inventor/SbVec3f.h>
34 typedef void * SbClipCallback(
const SbVec3f & v0,
void * vdata0,
35 const SbVec3f & v1,
void * vdata1,
41 SbClip(SbClipCallback * callback = NULL,
void * userdata = NULL);
43 void addVertex(
const SbVec3f &v,
void * vdata = NULL);
46 void clip(
const SbPlane & plane);
48 int getNumVertices(
void)
const;
49 void getVertex(
const int idx,
SbVec3f & v,
void ** vdata = NULL)
const;
50 void * getVertexData(
const int idx)
const;
56 SbClipData(
const SbVec3f & v,
void * data)
60 void get(
SbVec3f &v,
void *& dataref) {
69 SbClipCallback * callback;
73 void outputVertex(
const SbVec3f &v,
void * data);
77 #endif // !COIN_SBCLIP_H
The SbVec2f class is a 2 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec2f.h:39
The SbClip class is a generic polygon clipper class.It is used by first adding all vertices in the po...
Definition: SbClip.h:39
The SbVec3f class is a 3 dimensional vector with floating point coordinates.This vector class is used...
Definition: SbVec3f.h:40
The SbPlane class represents a plane in 3D space.SbDPPlane is used by many other classes in Coin...
Definition: SbPlane.h:34