Node structure encoding the information required for distance traversal. More...
#include <traversal_node_base.h>
Public Member Functions | |
virtual FCL_REAL | BVTesting (int b1, int b2) const |
BV test between b1 and b2. | |
virtual bool | canStop (FCL_REAL c) const |
Check whether the traversal can stop. | |
DistanceTraversalNodeBase () | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. | |
virtual void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. | |
virtual | ~DistanceTraversalNodeBase () |
Public Attributes | |
bool | enable_statistics |
Whether stores statistics. | |
DistanceRequest | request |
request setting for distance | |
DistanceResult * | result |
distance result kept during the traversal iteration |
Node structure encoding the information required for distance traversal.
Definition at line 119 of file traversal_node_base.h.
Definition at line 122 of file traversal_node_base.h.
Definition at line 102 of file traversal_node_base.cpp.
FCL_REAL fcl::DistanceTraversalNodeBase::BVTesting | ( | int | b1, |
int | b2 | ||
) | const [virtual] |
BV test between b1 and b2.
Reimplemented in fcl::OcTreeMeshDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::OcTreeShapeDistanceTraversalNode< S, NarrowPhaseSolver >, fcl::ShapeOcTreeDistanceTraversalNode< S, NarrowPhaseSolver >, fcl::OcTreeDistanceTraversalNode< NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodekIOS< S, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodeRSS< S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNodekIOS< S, NarrowPhaseSolver >, fcl::MeshConservativeAdvancementTraversalNodeRSS, fcl::MeshShapeDistanceTraversalNodeRSS< S, NarrowPhaseSolver >, fcl::MeshConservativeAdvancementTraversalNode< BV >, fcl::MeshConservativeAdvancementTraversalNode< RSS >, fcl::ShapeBVHDistanceTraversalNode< S, BV >, fcl::ShapeBVHDistanceTraversalNode< S, OBBRSS >, fcl::ShapeBVHDistanceTraversalNode< S, kIOS >, fcl::ShapeBVHDistanceTraversalNode< S, RSS >, fcl::MeshDistanceTraversalNodeOBBRSS, fcl::BVHShapeDistanceTraversalNode< BV, S >, fcl::BVHShapeDistanceTraversalNode< kIOS, S >, fcl::BVHShapeDistanceTraversalNode< OBBRSS, S >, fcl::BVHShapeDistanceTraversalNode< RSS, S >, fcl::MeshDistanceTraversalNodekIOS, fcl::MeshDistanceTraversalNodeRSS, fcl::BVHDistanceTraversalNode< BV >, fcl::BVHDistanceTraversalNode< kIOS >, fcl::BVHDistanceTraversalNode< RSS >, fcl::BVHDistanceTraversalNode< OBBRSS >, and fcl::ShapeDistanceTraversalNode< S1, S2, NarrowPhaseSolver >.
Definition at line 106 of file traversal_node_base.cpp.
bool fcl::DistanceTraversalNodeBase::canStop | ( | FCL_REAL | c | ) | const [virtual] |
Check whether the traversal can stop.
Reimplemented in fcl::ShapeMeshDistanceTraversalNode< S, BV, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, RSS, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, OBBRSS, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, kIOS, NarrowPhaseSolver >, fcl::MeshConservativeAdvancementTraversalNodeRSS, fcl::MeshConservativeAdvancementTraversalNode< BV >, fcl::MeshConservativeAdvancementTraversalNode< BV >, fcl::MeshConservativeAdvancementTraversalNode< BV >, fcl::MeshConservativeAdvancementTraversalNode< RSS >, fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< kIOS, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< RSS, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< OBBRSS, S, NarrowPhaseSolver >, fcl::MeshDistanceTraversalNode< BV >, fcl::MeshDistanceTraversalNode< kIOS >, fcl::MeshDistanceTraversalNode< RSS >, fcl::MeshDistanceTraversalNode< OBBRSS >, fcl::MeshConservativeAdvancementTraversalNode< BV >, and fcl::MeshConservativeAdvancementTraversalNode< BV >.
Definition at line 115 of file traversal_node_base.cpp.
void fcl::DistanceTraversalNodeBase::enableStatistics | ( | bool | enable | ) | [inline, virtual] |
Whether store some statistics information during traversal.
Implements fcl::TraversalNodeBase.
Definition at line 136 of file traversal_node_base.h.
void fcl::DistanceTraversalNodeBase::leafTesting | ( | int | b1, |
int | b2 | ||
) | const [virtual] |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented in fcl::OcTreeMeshDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::OcTreeShapeDistanceTraversalNode< S, NarrowPhaseSolver >, fcl::ShapeOcTreeDistanceTraversalNode< S, NarrowPhaseSolver >, fcl::OcTreeDistanceTraversalNode< NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodekIOS< S, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNodeRSS< S, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, BV, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, RSS, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, OBBRSS, NarrowPhaseSolver >, fcl::ShapeMeshDistanceTraversalNode< S, kIOS, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNodeOBBRSS< S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNodekIOS< S, NarrowPhaseSolver >, fcl::MeshConservativeAdvancementTraversalNodeRSS, fcl::MeshShapeDistanceTraversalNodeRSS< S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< kIOS, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< RSS, S, NarrowPhaseSolver >, fcl::MeshShapeDistanceTraversalNode< OBBRSS, S, NarrowPhaseSolver >, fcl::MeshConservativeAdvancementTraversalNode< BV >, fcl::MeshConservativeAdvancementTraversalNode< RSS >, fcl::MeshDistanceTraversalNodeOBBRSS, fcl::MeshDistanceTraversalNodekIOS, fcl::MeshDistanceTraversalNodeRSS, fcl::MeshDistanceTraversalNode< BV >, fcl::MeshDistanceTraversalNode< kIOS >, fcl::MeshDistanceTraversalNode< RSS >, fcl::MeshDistanceTraversalNode< OBBRSS >, and fcl::ShapeDistanceTraversalNode< S1, S2, NarrowPhaseSolver >.
Definition at line 111 of file traversal_node_base.cpp.
Whether stores statistics.
Definition at line 145 of file traversal_node_base.h.
request setting for distance
Definition at line 139 of file traversal_node_base.h.
distance result kept during the traversal iteration
Definition at line 142 of file traversal_node_base.h.