dynamic AABB tree node More...
#include <hpp/fcl/broadphase/hierarchy_tree.h>
Public Member Functions | |
bool | isLeaf () const |
whether is a leaf More... | |
bool | isInternal () const |
whether is internal node More... | |
NodeBase () | |
Public Attributes | |
BV | bv |
the bounding volume for the node More... | |
NodeBase< BV > * | parent |
pointer to parent node More... | |
union { | |
NodeBase< BV > * children [2] | |
for leaf node, children nodes More... | |
void * data | |
}; | |
FCL_UINT32 | code |
morton code for current BV More... | |
dynamic AABB tree node
|
inline |
References fcl::NodeBase< BV >::children.
|
inline |
whether is internal node
References fcl::NodeBase< BV >::isLeaf().
|
inline |
whether is a leaf
References fcl::NodeBase< BV >::children.
Referenced by fcl::HierarchyTree< fcl::AABB >::balanceIncremental(), fcl::HierarchyTree< fcl::AABB >::extractLeaves(), fcl::NodeBase< BV >::isInternal(), fcl::implementation_array::NodeBase< BV >::isInternal(), fcl::HierarchyTree< fcl::AABB >::print(), and fcl::implementation_array::HierarchyTree< fcl::AABB >::print().
union { ... } |
BV fcl::NodeBase< BV >::bv |
the bounding volume for the node
Referenced by fcl::implementation_array::HierarchyTree< fcl::AABB >::init(), fcl::nodeBaseLess(), fcl::implementation_array::nodeBaseLess< BV >::operator()(), fcl::HierarchyTree< fcl::AABB >::print(), fcl::implementation_array::HierarchyTree< fcl::AABB >::print(), and fcl::HierarchyTree< fcl::AABB >::update().
NodeBase<BV>* fcl::NodeBase< BV >::children[2] |
for leaf node, children nodes
Referenced by fcl::HierarchyTree< fcl::AABB >::balanceIncremental(), fcl::implementation_array::HierarchyTree< fcl::AABB >::balanceIncremental(), fcl::HierarchyTree< fcl::AABB >::extractLeaves(), fcl::NodeBase< BV >::isLeaf(), fcl::implementation_array::NodeBase< BV >::isLeaf(), fcl::NodeBase< BV >::NodeBase(), fcl::HierarchyTree< fcl::AABB >::print(), and fcl::implementation_array::HierarchyTree< fcl::AABB >::print().
FCL_UINT32 fcl::NodeBase< BV >::code |
morton code for current BV
Referenced by fcl::HierarchyTree< fcl::AABB >::print().
void* fcl::NodeBase< BV >::data |
Referenced by fcl::HierarchyTree< fcl::AABB >::print().
NodeBase<BV>* fcl::NodeBase< BV >::parent |
pointer to parent node
Referenced by fcl::HierarchyTree< fcl::AABB >::print(), fcl::implementation_array::HierarchyTree< fcl::AABB >::print(), and fcl::HierarchyTree< fcl::AABB >::update().