dynamic AABB tree node More...
#include <node_base.h>
Public Member Functions | |
bool | isInternal () const |
whether is internal node More... | |
bool | isLeaf () const |
whether is a leaf More... | |
NodeBase () | |
Public Attributes | |
union { | |
NodeBase< BV > * children [2] | |
for leaf node, children nodes More... | |
void * data | |
}; | |
BV | bv |
the bounding volume for the node More... | |
uint32_t | code |
morton code for current BV More... | |
NodeBase< BV > * | parent |
pointer to parent node More... | |
dynamic AABB tree node
Definition at line 49 of file coal/broadphase/detail/node_base.h.
coal::detail::NodeBase< BV >::NodeBase |
Definition at line 66 of file coal/broadphase/detail/node_base-inl.h.
bool coal::detail::NodeBase< BV >::isInternal |
whether is internal node
Definition at line 60 of file coal/broadphase/detail/node_base-inl.h.
bool coal::detail::NodeBase< BV >::isLeaf |
whether is a leaf
Definition at line 54 of file coal/broadphase/detail/node_base-inl.h.
union { ... } |
BV coal::detail::NodeBase< BV >::bv |
the bounding volume for the node
Definition at line 51 of file coal/broadphase/detail/node_base.h.
NodeBase<BV>* coal::detail::NodeBase< BV >::children[2] |
for leaf node, children nodes
Definition at line 64 of file coal/broadphase/detail/node_base.h.
uint32_t coal::detail::NodeBase< BV >::code |
morton code for current BV
Definition at line 69 of file coal/broadphase/detail/node_base.h.
void* coal::detail::NodeBase< BV >::data |
Definition at line 65 of file coal/broadphase/detail/node_base.h.
NodeBase<BV>* coal::detail::NodeBase< BV >::parent |
pointer to parent node
Definition at line 54 of file coal/broadphase/detail/node_base.h.