#include <Opcode.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 |
Opcode::AABBOptimizedTree::AABBOptimizedTree | ( | ) | [inline] |
virtual Opcode::AABBOptimizedTree::~AABBOptimizedTree | ( | ) | [inline, virtual] |
virtual bool Opcode::AABBOptimizedTree::Build | ( | AABBTree * | tree | ) | [pure virtual] |
inline_ udword Opcode::AABBOptimizedTree::GetNbNodes | ( | ) | const [inline] |
virtual udword Opcode::AABBOptimizedTree::GetUsedBytes | ( | ) | const [pure virtual] |
virtual bool Opcode::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 Opcode::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 Opcode::AABBOptimizedTree::mNbNodes [protected] |