Traversal node for distance between two shapes. More...
#include <hpp/fcl/traversal/traversal_node_shapes.h>
Public Member Functions | |
ShapeDistanceTraversalNode () | |
FCL_REAL | BVTesting (int, int) const |
BV culling test in one BVTT node. More... | |
void | leafTesting (int, int) const |
Distance testing between leaves (two shapes) More... | |
![]() | |
DistanceTraversalNodeBase () | |
virtual | ~DistanceTraversalNodeBase () |
virtual bool | canStop (FCL_REAL c) const |
Check whether the traversal can stop. More... | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
![]() | |
virtual | ~TraversalNodeBase () |
virtual void | preprocess () |
virtual void | postprocess () |
virtual bool | isFirstNodeLeaf (int b) const |
Whether b is a leaf node in the first BVH tree. More... | |
virtual bool | isSecondNodeLeaf (int b) const |
Whether b is a leaf node in the second BVH tree. More... | |
virtual bool | firstOverSecond (int b1, int b2) const |
Traverse the subtree of the node in the first tree first. More... | |
virtual int | getFirstLeftChild (int b) const |
Get the left child of the node b in the first tree. More... | |
virtual int | getFirstRightChild (int b) const |
Get the right child of the node b in the first tree. More... | |
virtual int | getSecondLeftChild (int b) const |
Get the left child of the node b in the second tree. More... | |
virtual int | getSecondRightChild (int b) const |
Get the right child of the node b in the second tree. More... | |
Public Attributes | |
const S1 * | model1 |
const S2 * | model2 |
const NarrowPhaseSolver * | nsolver |
![]() | |
DistanceRequest | request |
request setting for distance More... | |
DistanceResult * | result |
distance result kept during the traversal iteration More... | |
bool | enable_statistics |
Whether stores statistics. More... | |
![]() | |
Transform3f | tf1 |
configuation of first object More... | |
Transform3f | tf2 |
configuration of second object More... | |
Traversal node for distance between two shapes.
|
inline |
|
inlinevirtual |
BV culling test in one BVTT node.
Reimplemented from hpp::fcl::DistanceTraversalNodeBase.
|
inlinevirtual |
Distance testing between leaves (two shapes)
Implements hpp::fcl::DistanceTraversalNodeBase.
References hpp::fcl::distance(), hpp::fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::model1, hpp::fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::model2, hpp::fcl::DistanceResult::NONE, hpp::fcl::ShapeCollisionTraversalNode< S1, S2, NarrowPhaseSolver >::nsolver, hpp::fcl::CollisionTraversalNodeBase::result, hpp::fcl::TraversalNodeBase::tf1, and hpp::fcl::TraversalNodeBase::tf2.
const S1* hpp::fcl::ShapeDistanceTraversalNode< S1, S2, NarrowPhaseSolver >::model1 |
Referenced by hpp::fcl::initialize().
const S2* hpp::fcl::ShapeDistanceTraversalNode< S1, S2, NarrowPhaseSolver >::model2 |
Referenced by hpp::fcl::initialize().
const NarrowPhaseSolver* hpp::fcl::ShapeDistanceTraversalNode< S1, S2, NarrowPhaseSolver >::nsolver |
Referenced by hpp::fcl::initialize().