#include <OPC_OptimizedTree.h>
Public Member Functions | |
AABBOptimizedTree () | |
virtual bool | Build (AABBTree *tree)=0 |
inline_ udword | GetNbNodes () const |
virtual udword | GetUsedBytes () const =0 |
virtual bool | Refit (const MeshInterface *mesh_interface)=0 |
virtual bool | Walk (GenericWalkingCallback callback, void *user_data) const =0 |
virtual | ~AABBOptimizedTree () |
Protected Attributes | |
udword | mNbNodes |
Definition at line 147 of file OPC_OptimizedTree.h.
AABBOptimizedTree::AABBOptimizedTree | ( | ) | [inline] |
Definition at line 151 of file OPC_OptimizedTree.h.
virtual AABBOptimizedTree::~AABBOptimizedTree | ( | ) | [inline, virtual] |
Definition at line 154 of file OPC_OptimizedTree.h.
virtual bool AABBOptimizedTree::Build | ( | AABBTree * | tree | ) | [pure virtual] |
inline_ udword AABBOptimizedTree::GetNbNodes | ( | ) | const [inline] |
Definition at line 186 of file OPC_OptimizedTree.h.
virtual udword AABBOptimizedTree::GetUsedBytes | ( | ) | const [pure virtual] |
virtual bool AABBOptimizedTree::Refit | ( | const MeshInterface * | mesh_interface | ) | [pure virtual] |
Refits the collision tree after vertices have been modified.
mesh_interface | [in] mesh interface for current model |
virtual bool AABBOptimizedTree::Walk | ( | GenericWalkingCallback | callback, |
void * | user_data | ||
) | const [pure virtual] |
Walks the tree and call the user back for each node.
callback | [in] walking callback |
user_data | [in] callback's user data |
udword AABBOptimizedTree::mNbNodes [protected] |
Definition at line 189 of file OPC_OptimizedTree.h.