Traversal node for distance computation between BVH and shape. More...
#include <hpp/fcl/traversal/traversal_node_bvh_shape.h>
Public Member Functions | |
BVHShapeDistanceTraversalNode () | |
bool | isFirstNodeLeaf (int b) const |
Whether the BV node in the first BVH tree is leaf. | |
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. | |
FCL_REAL | BVTesting (int b1, int) const |
BV culling test in one BVTT node. | |
Public Attributes | |
const BVHModel< BV > * | model1 |
const S * | model2 |
BV | model2_bv |
int | num_bv_tests |
int | num_leaf_tests |
FCL_REAL | query_time_seconds |
Traversal node for distance computation between BVH and shape.
fcl::BVHShapeDistanceTraversalNode< BV, S >::BVHShapeDistanceTraversalNode | ( | ) | [inline] |
FCL_REAL fcl::BVHShapeDistanceTraversalNode< BV, S >::BVTesting | ( | int | b1, |
int | |||
) | const [inline, virtual] |
BV culling test in one BVTT node.
Reimplemented from fcl::DistanceTraversalNodeBase.
Reimplemented in fcl::MeshShapeDistanceTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNodekIOS< S, NarrowPhaseSolver >, and fcl::MeshShapeDistanceTraversalNodeRSS< S, NarrowPhaseSolver >.
int fcl::BVHShapeDistanceTraversalNode< BV, S >::getFirstLeftChild | ( | int | b | ) | const [inline, virtual] |
Obtain the left child of BV node in the first BVH.
Reimplemented from fcl::TraversalNodeBase.
int fcl::BVHShapeDistanceTraversalNode< BV, S >::getFirstRightChild | ( | int | b | ) | const [inline, virtual] |
Obtain the right child of BV node in the first BVH.
Reimplemented from fcl::TraversalNodeBase.
bool fcl::BVHShapeDistanceTraversalNode< BV, S >::isFirstNodeLeaf | ( | int | b | ) | const [inline, virtual] |
Whether the BV node in the first BVH tree is leaf.
Reimplemented from fcl::TraversalNodeBase.
const BVHModel<BV>* fcl::BVHShapeDistanceTraversalNode< BV, S >::model1 |
Referenced by fcl::BVHShapeDistanceTraversalNode< RSS, S >::BVHShapeDistanceTraversalNode(), fcl::BVHShapeDistanceTraversalNode< RSS, S >::BVTesting(), fcl::BVHShapeDistanceTraversalNode< RSS, S >::getFirstLeftChild(), fcl::BVHShapeDistanceTraversalNode< RSS, S >::getFirstRightChild(), fcl::initialize(), fcl::BVHShapeDistanceTraversalNode< RSS, S >::isFirstNodeLeaf(), and fcl::MeshShapeDistanceTraversalNode< OBBRSS, S, NarrowPhaseSolver >::leafTesting().
const S* fcl::BVHShapeDistanceTraversalNode< BV, S >::model2 |
BV fcl::BVHShapeDistanceTraversalNode< BV, S >::model2_bv |
Referenced by fcl::BVHShapeDistanceTraversalNode< RSS, S >::BVTesting(), and fcl::initialize().
int fcl::BVHShapeDistanceTraversalNode< BV, S >::num_bv_tests [mutable] |
int fcl::BVHShapeDistanceTraversalNode< BV, S >::num_leaf_tests [mutable] |
FCL_REAL fcl::BVHShapeDistanceTraversalNode< BV, S >::query_time_seconds [mutable] |