The concrete implementation of an AABBTree that contains spheres. More...
Public Member Functions | |
| OZCOLLIDE_API int | getMemoryConsumption () const |
| Get the memory consumption of the entire content of the tree in bytes. | |
| OZCOLLIDE_API bool | isCollideWithBox (const Box &) |
| OZCOLLIDE_API void | collideWithBox (const Box &, AABBCDSphere_callback *, void *userCallback=NULL) |
| OZCOLLIDE_API void | collideWithFrustum (const Frustum &, AABBCDSphere_callback *, void *userCallback=NULL) |
| OZCOLLIDE_API int | getNbCollidedPrimitives () const |
| OZCOLLIDE_API ERR | saveBinary (const char *filename) |
| Saves the tree on the disk given a location. | |
| OZCOLLIDE_API ERR | saveBinary (DataOut &) |
| Saves the tree via a DataOut pipe. | |
| OZCOLLIDE_API void | scale (float) |
| Scale the tree by a given factor. | |
Static Public Member Functions | |
| static OZCOLLIDE_API ERR | loadBinary (const char *filename, AABBTreeSphere **) |
| static OZCOLLIDE_API ERR | loadBinary (DataIn &, AABBTreeSphere **) |
Friends | |
| class | AABBTree |
| class | AABBTreeSphere_Builder |
The concrete implementation of an AABBTree that contains spheres.
| OZCOLLIDE_API int AABBTreeSphere::getMemoryConsumption | ( | ) | const [virtual] |
Get the memory consumption of the entire content of the tree in bytes.
Implements AABBTree.
| OZCOLLIDE_API ERR AABBTreeSphere::saveBinary | ( | const char * | filename | ) | [virtual] |
Saves the tree on the disk given a location.
| filename | Location of the filename |
Implements AABBTree.
| OZCOLLIDE_API ERR AABBTreeSphere::saveBinary | ( | DataOut & | _data | ) | [virtual] |
| OZCOLLIDE_API void AABBTreeSphere::scale | ( | float | ) | [virtual] |
1.7.1