Traversal node for collision between shape and BVH. More...
#include <traversal_node_bvh_shape.h>
Public Member Functions | |
bool | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. | |
bool | firstOverSecond (int, int) const |
Alway extend the second model, which is a BVH model. | |
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 | isSecondNodeLeaf (int b) const |
Whether the BV node in the second BVH tree is leaf. | |
ShapeBVHCollisionTraversalNode () | |
Public Attributes | |
const S * | model1 |
BV | model1_bv |
const BVHModel< BV > * | model2 |
int | num_bv_tests |
int | num_leaf_tests |
FCL_REAL | query_time_seconds |
Traversal node for collision between shape and BVH.
Definition at line 102 of file traversal_node_bvh_shape.h.
fcl::ShapeBVHCollisionTraversalNode< S, BV >::ShapeBVHCollisionTraversalNode | ( | ) | [inline] |
Definition at line 105 of file traversal_node_bvh_shape.h.
bool fcl::ShapeBVHCollisionTraversalNode< S, BV >::BVTesting | ( | int | b1, |
int | b2 | ||
) | const [inline, virtual] |
BV culling test in one BVTT node.
Reimplemented from fcl::CollisionTraversalNodeBase.
Reimplemented in fcl::ShapeMeshCollisionTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::ShapeMeshCollisionTraversalNodekIOS< S, NarrowPhaseSolver >, fcl::ShapeMeshCollisionTraversalNodeRSS< S, NarrowPhaseSolver >, and fcl::ShapeMeshCollisionTraversalNodeOBB< S, NarrowPhaseSolver >.
Definition at line 140 of file traversal_node_bvh_shape.h.
bool fcl::ShapeBVHCollisionTraversalNode< S, BV >::firstOverSecond | ( | int | , |
int | |||
) | const [inline, virtual] |
Alway extend the second model, which is a BVH model.
Reimplemented from fcl::TraversalNodeBase.
Definition at line 116 of file traversal_node_bvh_shape.h.
int fcl::ShapeBVHCollisionTraversalNode< S, 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 128 of file traversal_node_bvh_shape.h.
int fcl::ShapeBVHCollisionTraversalNode< S, 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 134 of file traversal_node_bvh_shape.h.
bool fcl::ShapeBVHCollisionTraversalNode< S, 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 122 of file traversal_node_bvh_shape.h.
const S* fcl::ShapeBVHCollisionTraversalNode< S, BV >::model1 |
Definition at line 146 of file traversal_node_bvh_shape.h.
BV fcl::ShapeBVHCollisionTraversalNode< S, BV >::model1_bv |
Definition at line 148 of file traversal_node_bvh_shape.h.
const BVHModel<BV>* fcl::ShapeBVHCollisionTraversalNode< S, BV >::model2 |
Definition at line 147 of file traversal_node_bvh_shape.h.
int fcl::ShapeBVHCollisionTraversalNode< S, BV >::num_bv_tests [mutable] |
Definition at line 150 of file traversal_node_bvh_shape.h.
int fcl::ShapeBVHCollisionTraversalNode< S, BV >::num_leaf_tests [mutable] |
Definition at line 151 of file traversal_node_bvh_shape.h.
FCL_REAL fcl::ShapeBVHCollisionTraversalNode< S, BV >::query_time_seconds [mutable] |
Definition at line 152 of file traversal_node_bvh_shape.h.