OpenGL Volumizer 2.7 Reference Pages
| vzShapeSet ( | ); |
| static vzShapeSet* load ( | const char* filename); |
| void add ( | vzShape* shape); |
| void remove ( | vzShape* shape); |
| void setGraphicsState ( | vzGraphicsState* state); |
| int getNumShapes ( | ) const; |
| vzShape* get ( | int i) const; |
| void getBoundingBox ( | float bbox[6]) const; |
| vzGraphicsState* getGraphicsState ( | ) const; |
| void sort ( | int* indices) const; |
| static void setLoaderCB ( | vzShapeSetLoaderCB loaderPtr); |
| ~vzShapeSet ( | ); |
| vzShapeSet ( | ); |
| ~vzShapeSet ( | ); |
| void add ( | vzShape* shape); |
| vzShape* get ( | int i) const; |
| void getBoundingBox ( | float bbox[6]) const; |
| vzGraphicsState* getGraphicsState ( | ) const; |
| int getNumShapes ( | ) const; |
| static vzShapeSet* load ( | const char* filename); |
// Type definition for the object loader callback
typedef vzObject * (*vzObjectLoaderCB)(const char *filename,
const char *userString);
// Example for loading class vzPolyGeometry
extern "C" vzObject *createPolyGeometry(const char *filename,
const char *userString)
{
vzPolyGeometry *geom = MyPolyLoader::load(filename);
if(!geom) {
fprintf(stderr,"Cannot load file %s using MyPolyLoader\n", filename);
return NULL;
}
return (vzObject *)geom;
}
| void remove ( | vzShape* shape); |
| void setGraphicsState ( | vzGraphicsState* state); |
| static void setLoaderCB ( | vzShapeSetLoaderCB loaderPtr); |
typedef vzShapeSet * (*vzShapeSetLoaderCB)(const char *filename);
| void sort ( | int* indices) const; |