#include <OPC_AABBTree.h>
Public Member Functions | |
inline_ udword | GetNbPrimitives () const |
inline_ const udword * | GetPrimitives () const |
Protected Member Functions | |
void | _BuildHierarchy (AABBTreeBuilder *builder) |
void | _Refit (AABBTreeBuilder *builder) |
udword | Split (udword axis, AABBTreeBuilder *builder) |
bool | Subdivide (AABBTreeBuilder *builder) |
Protected Attributes | |
udword | mNbPrimitives |
Number of primitives for this node. | |
udword * | mNodePrimitives |
Node-related primitives (shortcut to a position in mIndices below) |
Contains a generic AABB tree node.
Definition at line 83 of file OPC_AABBTree.h.
void AABBTreeNode::_BuildHierarchy | ( | AABBTreeBuilder * | builder | ) | [protected] |
void AABBTreeNode::_Refit | ( | AABBTreeBuilder * | builder | ) | [protected] |
inline_ udword AABBTreeNode::GetNbPrimitives | ( | ) | const [inline] |
Definition at line 89 of file OPC_AABBTree.h.
inline_ const udword* AABBTreeNode::GetPrimitives | ( | ) | const [inline] |
Definition at line 88 of file OPC_AABBTree.h.
udword AABBTreeNode::Split | ( | udword | axis, |
AABBTreeBuilder * | builder | ||
) | [protected] |
bool AABBTreeNode::Subdivide | ( | AABBTreeBuilder * | builder | ) | [protected] |
udword AABBTreeNode::mNbPrimitives [protected] |
Number of primitives for this node.
Definition at line 94 of file OPC_AABBTree.h.
udword* AABBTreeNode::mNodePrimitives [protected] |
Node-related primitives (shortcut to a position in mIndices below)
Definition at line 93 of file OPC_AABBTree.h.