Public Member Functions | Public Attributes | List of all members
fcl::detail::DistanceTraversalNodeBase< S > Class Template Reference

Node structure encoding the information required for distance traversal. More...

#include <distance_traversal_node_base.h>

Inheritance diagram for fcl::detail::DistanceTraversalNodeBase< S >:
Inheritance graph
[legend]

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...
 

Detailed Description

template<typename S>
class fcl::detail::DistanceTraversalNodeBase< S >

Node structure encoding the information required for distance traversal.

Definition at line 53 of file distance_traversal_node_base.h.

Constructor & Destructor Documentation

◆ DistanceTraversalNodeBase()

Definition at line 57 of file distance_traversal_node_base-inl.h.

◆ ~DistanceTraversalNodeBase()

Definition at line 65 of file distance_traversal_node_base-inl.h.

Member Function Documentation

◆ BVTesting()

template<typename S >
S fcl::detail::DistanceTraversalNodeBase< S >::BVTesting ( int  b1,
int  b2 
) const
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.

◆ canStop()

template<typename S >
bool fcl::detail::DistanceTraversalNodeBase< S >::canStop ( c) const
virtual

Check whether the traversal can stop.

Definition at line 92 of file distance_traversal_node_base-inl.h.

◆ enableStatistics()

template<typename S >
void fcl::detail::DistanceTraversalNodeBase< S >::enableStatistics ( bool  enable)
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.

◆ leafTesting()

template<typename S >
void fcl::detail::DistanceTraversalNodeBase< S >::leafTesting ( int  b1,
int  b2 
) const
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.

Member Data Documentation

◆ enable_statistics

template<typename S >
bool fcl::detail::DistanceTraversalNodeBase< S >::enable_statistics

Whether stores statistics.

Definition at line 79 of file distance_traversal_node_base.h.

◆ request

template<typename S >
DistanceRequest<S> fcl::detail::DistanceTraversalNodeBase< S >::request

request setting for distance

Definition at line 73 of file distance_traversal_node_base.h.

◆ result

template<typename S >
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.


The documentation for this class was generated from the following files:


fcl
Author(s):
autogenerated on Fri Apr 2 2021 02:38:02