Traversal node for collision between BVH models. More...
#include <traversal_node_bvhs.h>
Public Member Functions | |
BVHCollisionTraversalNode () | |
bool | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. | |
bool | firstOverSecond (int b1, int b2) const |
Determine the traversal order, is the first BVTT subtree better. | |
int | getFirstLeftChild (int b) const |
Obtain the left child of BV node in the first BVH. | |
int | getFirstRightChild (int b) const |
Obtain the right child of BV node in the first BVH. | |
int | getSecondLeftChild (int b) const |
Obtain the left child of BV node in the second BVH. | |
int | getSecondRightChild (int b) const |
Obtain the right child of BV node in the second BVH. | |
bool | isFirstNodeLeaf (int b) const |
Whether the BV node in the first BVH tree is leaf. | |
bool | isSecondNodeLeaf (int b) const |
Whether the BV node in the second BVH tree is leaf. | |
Public Attributes | |
const BVHModel< BV > * | model1 |
The first BVH model. | |
const BVHModel< BV > * | model2 |
The second BVH model. | |
int | num_bv_tests |
statistical information | |
int | num_leaf_tests |
FCL_REAL | query_time_seconds |
Traversal node for collision between BVH models.
Definition at line 61 of file traversal_node_bvhs.h.
fcl::BVHCollisionTraversalNode< BV >::BVHCollisionTraversalNode | ( | ) | [inline] |
Definition at line 64 of file traversal_node_bvhs.h.
bool fcl::BVHCollisionTraversalNode< BV >::BVTesting | ( | int | b1, |
int | b2 | ||
) | const [inline, virtual] |
BV culling test in one BVTT node.
Reimplemented from fcl::CollisionTraversalNodeBase.
Reimplemented in fcl::MeshCollisionTraversalNodeOBBRSS, fcl::MeshCollisionTraversalNodekIOS, fcl::MeshCollisionTraversalNodeRSS, and fcl::MeshCollisionTraversalNodeOBB.
Definition at line 125 of file traversal_node_bvhs.h.
bool fcl::BVHCollisionTraversalNode< BV >::firstOverSecond | ( | int | b1, |
int | b2 | ||
) | const [inline, virtual] |
Determine the traversal order, is the first BVTT subtree better.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 87 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::getFirstLeftChild | ( | int | b | ) | const [inline, virtual] |
Obtain the left child of BV node in the first BVH.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 101 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::getFirstRightChild | ( | int | b | ) | const [inline, virtual] |
Obtain the right child of BV node in the first BVH.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 107 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::getSecondLeftChild | ( | int | b | ) | const [inline, virtual] |
Obtain the left child of BV node in the second BVH.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 113 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::getSecondRightChild | ( | int | b | ) | const [inline, virtual] |
Obtain the right child of BV node in the second BVH.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 119 of file traversal_node_bvhs.h.
bool fcl::BVHCollisionTraversalNode< BV >::isFirstNodeLeaf | ( | int | b | ) | const [inline, virtual] |
Whether the BV node in the first BVH tree is leaf.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 75 of file traversal_node_bvhs.h.
bool fcl::BVHCollisionTraversalNode< BV >::isSecondNodeLeaf | ( | int | b | ) | const [inline, virtual] |
Whether the BV node in the second BVH tree is leaf.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 81 of file traversal_node_bvhs.h.
const BVHModel<BV>* fcl::BVHCollisionTraversalNode< BV >::model1 |
The first BVH model.
Definition at line 132 of file traversal_node_bvhs.h.
const BVHModel<BV>* fcl::BVHCollisionTraversalNode< BV >::model2 |
The second BVH model.
Definition at line 134 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::num_bv_tests [mutable] |
statistical information
Definition at line 137 of file traversal_node_bvhs.h.
int fcl::BVHCollisionTraversalNode< BV >::num_leaf_tests [mutable] |
Definition at line 138 of file traversal_node_bvhs.h.
FCL_REAL fcl::BVHCollisionTraversalNode< BV >::query_time_seconds [mutable] |
Definition at line 139 of file traversal_node_bvhs.h.