Node structure encoding the information required for distance traversal. More...
#include <distance_traversal_node_base.h>
Public Member Functions | |
virtual S | BVTesting (int b1, int b2) const |
BV test between b1 and b2. More... | |
virtual bool | canStop (S c) const |
Check whether the traversal can stop. More... | |
DistanceTraversalNodeBase () | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
virtual void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
virtual | ~DistanceTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< S > | |
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... | |
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 void | postprocess () |
virtual void | preprocess () |
virtual | ~TraversalNodeBase () |
Public Attributes | |
bool | enable_statistics |
Whether stores statistics. More... | |
DistanceRequest< S > | request |
request setting for distance More... | |
DistanceResult< S > * | result |
distance result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< S > | |
Transform3< S > | tf1 |
configuation of first object More... | |
Transform3< S > | tf2 |
configuration of second object More... | |
Node structure encoding the information required for distance traversal.
Definition at line 53 of file distance_traversal_node_base.h.
fcl::detail::DistanceTraversalNodeBase< S >::DistanceTraversalNodeBase |
Definition at line 57 of file distance_traversal_node_base-inl.h.
|
virtual |
Definition at line 65 of file distance_traversal_node_base-inl.h.
|
virtual |
BV test between b1 and b2.
Reimplemented in fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::detail::OcTreeMeshDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >, fcl::detail::ShapeOcTreeDistanceTraversalNode< Shape, NarrowPhaseSolver >, fcl::detail::OcTreeDistanceTraversalNode< NarrowPhaseSolver >, fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodeOBBRSS< S >, fcl::detail::MeshShapeConservativeAdvancementTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >, fcl::detail::MeshShapeDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodekIOS< S >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshConservativeAdvancementTraversalNodeRSS< S >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodeRSS< S >, fcl::detail::ShapeMeshDistanceTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::BVHDistanceTraversalNode< BV >, fcl::detail::BVHDistanceTraversalNode< kIOS< S > >, fcl::detail::BVHDistanceTraversalNode< OBBRSS< S > >, fcl::detail::BVHDistanceTraversalNode< RSS< S > >, fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >, fcl::detail::ShapeBVHDistanceTraversalNode< Shape, OBBRSS< Shape::S > >, fcl::detail::ShapeBVHDistanceTraversalNode< Shape, RSS< Shape::S > >, fcl::detail::ShapeBVHDistanceTraversalNode< Shape, kIOS< Shape::S > >, fcl::detail::BVHShapeDistanceTraversalNode< BV, Shape >, fcl::detail::BVHShapeDistanceTraversalNode< kIOS< Shape::S >, Shape >, fcl::detail::BVHShapeDistanceTraversalNode< RSS< Shape::S >, Shape >, fcl::detail::BVHShapeDistanceTraversalNode< OBBRSS< Shape::S >, Shape >, fcl::detail::MeshConservativeAdvancementTraversalNode< BV >, fcl::detail::MeshConservativeAdvancementTraversalNode< OBBRSS< S > >, fcl::detail::MeshConservativeAdvancementTraversalNode< RSS< S > >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< BV, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, BV, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< OBBRSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< RSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, RSS< Shape::S >, NarrowPhaseSolver >, and fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, OBBRSS< Shape::S >, NarrowPhaseSolver >.
Definition at line 72 of file distance_traversal_node_base-inl.h.
|
virtual |
Check whether the traversal can stop.
Definition at line 92 of file distance_traversal_node_base-inl.h.
|
virtual |
Whether store some statistics information during traversal.
Implements fcl::detail::TraversalNodeBase< S >.
Definition at line 101 of file distance_traversal_node_base-inl.h.
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented in fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::detail::OcTreeMeshDistanceTraversalNode< BV, NarrowPhaseSolver >, fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >, fcl::detail::ShapeOcTreeDistanceTraversalNode< Shape, NarrowPhaseSolver >, fcl::detail::OcTreeDistanceTraversalNode< NarrowPhaseSolver >, fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >, fcl::detail::ShapeConservativeAdvancementTraversalNode< Shape1, Shape2, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodeOBBRSS< S >, fcl::detail::MeshShapeDistanceTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >, fcl::detail::MeshShapeConservativeAdvancementTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodekIOS< S >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNodeOBBRSS< Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >, fcl::detail::MeshConservativeAdvancementTraversalNodeRSS< S >, fcl::detail::MeshShapeDistanceTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNodeRSS< S >, fcl::detail::ShapeMeshDistanceTraversalNodeRSS< Shape, NarrowPhaseSolver >, fcl::detail::MeshConservativeAdvancementTraversalNode< BV >, fcl::detail::MeshConservativeAdvancementTraversalNode< OBBRSS< S > >, fcl::detail::MeshConservativeAdvancementTraversalNode< RSS< S > >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< BV, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, BV, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< OBBRSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeConservativeAdvancementTraversalNode< RSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, RSS< Shape::S >, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, OBBRSS< Shape::S >, NarrowPhaseSolver >, fcl::detail::MeshDistanceTraversalNode< BV >, fcl::detail::MeshDistanceTraversalNode< kIOS< S > >, fcl::detail::MeshDistanceTraversalNode< OBBRSS< S > >, fcl::detail::MeshDistanceTraversalNode< RSS< S > >, fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNode< OBBRSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNode< RSS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::MeshShapeDistanceTraversalNode< kIOS< Shape::S >, Shape, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNode< Shape, RSS< Shape::S >, NarrowPhaseSolver >, fcl::detail::ShapeMeshDistanceTraversalNode< Shape, OBBRSS< Shape::S >, NarrowPhaseSolver >, and fcl::detail::ShapeMeshDistanceTraversalNode< Shape, kIOS< Shape::S >, NarrowPhaseSolver >.
Definition at line 82 of file distance_traversal_node_base-inl.h.
bool fcl::detail::DistanceTraversalNodeBase< S >::enable_statistics |
Whether stores statistics.
Definition at line 79 of file distance_traversal_node_base.h.
DistanceRequest<S> fcl::detail::DistanceTraversalNodeBase< S >::request |
request setting for distance
Definition at line 73 of file distance_traversal_node_base.h.
DistanceResult<S>* fcl::detail::DistanceTraversalNodeBase< S >::result |
distance result kept during the traversal iteration
Definition at line 76 of file distance_traversal_node_base.h.