#include <hpp/fcl/traversal/traversal_node_bvh_shape.h>
Public Member Functions | |
ShapeMeshCollisionTraversalNodeOBBRSS () | |
bool | BVTesting (int b1, int b2) const |
BV test between b1 and b2. | |
bool | BVTesting (int b1, int b2, FCL_REAL &sqrDistLowerBound) const |
BV test between b1 and b2. | |
void | leafTesting (int b1, int b2, FCL_REAL &sqrDistLowerBound) const |
Leaf test between node b1 and b2, if they are both leafs. |
fcl::ShapeMeshCollisionTraversalNodeOBBRSS< S, NarrowPhaseSolver >::ShapeMeshCollisionTraversalNodeOBBRSS | ( | ) | [inline] |
bool fcl::ShapeMeshCollisionTraversalNodeOBBRSS< S, NarrowPhaseSolver >::BVTesting | ( | int | b1, |
int | b2 | ||
) | const [inline, virtual] |
BV test between b1 and b2.
b1,b2 | Bounding volumes to test, |
Reimplemented from fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >.
References fcl::BVNode< BV >::bv, fcl::CollisionTraversalNodeBase::enable_statistics, fcl::BVHModel< BV >::getBV(), fcl::Transform3f::getRotation(), fcl::Transform3f::getTranslation(), fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model1_bv, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model2, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::num_bv_tests, fcl::overlap(), and fcl::TraversalNodeBase::tf2.
bool fcl::ShapeMeshCollisionTraversalNodeOBBRSS< S, NarrowPhaseSolver >::BVTesting | ( | int | b1, |
int | b2, | ||
FCL_REAL & | sqrDistLowerBound | ||
) | const [inline, virtual] |
BV test between b1 and b2.
b1,b2 | Bounding volumes to test, |
sqrDistLowerBound | square of a lower bound of the minimal distance between bounding volumes. |
Reimplemented from fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >.
References fcl::BVNode< BV >::bv, fcl::CollisionTraversalNodeBase::enable_statistics, fcl::BVHModel< BV >::getBV(), fcl::Transform3f::getRotation(), fcl::Transform3f::getTranslation(), fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model1_bv, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model2, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::num_bv_tests, fcl::overlap(), and fcl::TraversalNodeBase::tf2.
void fcl::ShapeMeshCollisionTraversalNodeOBBRSS< S, NarrowPhaseSolver >::leafTesting | ( | int | , |
int | , | ||
FCL_REAL & | |||
) | const [inline, virtual] |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from fcl::CollisionTraversalNodeBase.
References fcl::ShapeMeshCollisionTraversalNode< S, OBBRSS, NarrowPhaseSolver >::cost_density, fcl::CollisionTraversalNodeBase::enable_statistics, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model1, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::model2, fcl::ShapeMeshCollisionTraversalNode< S, OBBRSS, NarrowPhaseSolver >::nsolver, fcl::ShapeBVHCollisionTraversalNode< S, OBBRSS >::num_leaf_tests, fcl::CollisionTraversalNodeBase::request, fcl::TraversalNodeBase::tf1, fcl::TraversalNodeBase::tf2, fcl::ShapeMeshCollisionTraversalNode< S, OBBRSS, NarrowPhaseSolver >::tri_indices, and fcl::ShapeMeshCollisionTraversalNode< S, OBBRSS, NarrowPhaseSolver >::vertices.