38 #ifndef FCL_BV_BVNODEBASE_H 39 #define FCL_BV_BVNODEBASE_H 42 #include "fcl/math/bv/OBB.h" 43 #include "fcl/math/bv/RSS.h" 44 #include "fcl/math/bv/OBBRSS.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
int rightChild() const
Return the index of the second child. The index is referred to the bounding volume array (i...
Definition: BV_node_base.cpp:62
int leftChild() const
Return the index of the first child. The index is referred to the bounding volume array (i...
Definition: BV_node_base.cpp:56
int primitiveId() const
Return the primitive index. The index is referred to the original data (i.e. vertices or tri_indices)...
Definition: BV_node_base.cpp:50
BVNodeBase encodes the tree structure for BVH.
Definition: BV_node_base.h:50
int first_child
An index for first child node or primitive If the value is positive, it is the index of the first chi...
Definition: BV_node_base.h:56
int num_primitives
The number of primitives belonging to the current node.
Definition: BV_node_base.h:63
bool isLeaf() const
Whether current node is a leaf node (i.e. contains a primitive index.
Definition: BV_node_base.cpp:44
int first_primitive
The start id the primitive belonging to the current node. The index is referred to the primitive_indi...
Definition: BV_node_base.h:60