#include <OPC_OptimizedTree.h>
Definition at line 147 of file OPC_OptimizedTree.h.
◆ AABBOptimizedTree()
AABBOptimizedTree::AABBOptimizedTree |
( |
| ) |
|
|
inline |
◆ ~AABBOptimizedTree()
virtual AABBOptimizedTree::~AABBOptimizedTree |
( |
| ) |
|
|
inlinevirtual |
◆ Build()
virtual bool AABBOptimizedTree::Build |
( |
AABBTree * |
tree | ) |
|
|
pure virtual |
Builds the collision tree from a generic AABB tree.
- Parameters
-
tree | [in] generic AABB tree |
- Returns
- true if success
◆ GetNbNodes()
◆ GetUsedBytes()
virtual udword AABBOptimizedTree::GetUsedBytes |
( |
| ) |
const |
|
pure virtual |
◆ Refit()
Refits the collision tree after vertices have been modified.
- Parameters
-
mesh_interface | [in] mesh interface for current model |
- Returns
- true if success
◆ Walk()
Walks the tree and call the user back for each node.
- Parameters
-
callback | [in] walking callback |
user_data | [in] callback's user data |
- Returns
- true if success
◆ mNbNodes
udword AABBOptimizedTree::mNbNodes |
|
protected |
The documentation for this class was generated from the following file: