Public Types | Public Member Functions | Public Attributes | List of all members
fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver > Class Template Reference

Traversal node for distance between two shapes. More...

#include <shape_distance_traversal_node.h>

Inheritance diagram for fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >:
Inheritance graph
[legend]

Public Types

using S = typename Shape1::S
 

Public Member Functions

S BVTesting (int, int) const
 BV culling test in one BVTT node. More...
 
void leafTesting (int, int) const
 Distance testing between leaves (two shapes) More...
 
 ShapeDistanceTraversalNode ()
 
- Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< Shape1::S >
virtual bool canStop (Shape1::S c) const
 Check whether the traversal can stop. More...
 
 DistanceTraversalNodeBase ()
 
void enableStatistics (bool enable)
 Whether store some statistics information during traversal. More...
 
virtual ~DistanceTraversalNodeBase ()
 
- Public Member Functions inherited from fcl::detail::TraversalNodeBase< Shape1::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

const Shape1 * model1
 
const Shape2 * model2
 
const NarrowPhaseSolver * nsolver
 
- Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< Shape1::S >
bool enable_statistics
 Whether stores statistics. More...
 
DistanceRequest< Shape1::S > request
 request setting for distance More...
 
DistanceResult< Shape1::S > * result
 distance result kept during the traversal iteration More...
 
- Public Attributes inherited from fcl::detail::TraversalNodeBase< Shape1::S >
Transform3< Shape1::S > tf1
 configuation of first object More...
 
Transform3< Shape1::S > tf2
 configuration of second object More...
 

Detailed Description

template<typename Shape1, typename Shape2, typename NarrowPhaseSolver>
class fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >

Traversal node for distance between two shapes.

Definition at line 52 of file shape_distance_traversal_node.h.

Member Typedef Documentation

◆ S

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
using fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::S = typename Shape1::S

Definition at line 56 of file shape_distance_traversal_node.h.

Constructor & Destructor Documentation

◆ ShapeDistanceTraversalNode()

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::ShapeDistanceTraversalNode

Definition at line 52 of file shape_distance_traversal_node-inl.h.

Member Function Documentation

◆ BVTesting()

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
Shape1::S fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::BVTesting ( int  ,
int   
) const
virtual

BV culling test in one BVTT node.

Reimplemented from fcl::detail::DistanceTraversalNodeBase< Shape1::S >.

Definition at line 63 of file shape_distance_traversal_node-inl.h.

◆ leafTesting()

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
void fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::leafTesting ( int  ,
int   
) const
virtual

Distance testing between leaves (two shapes)

Reimplemented from fcl::detail::DistanceTraversalNodeBase< Shape1::S >.

Definition at line 70 of file shape_distance_traversal_node-inl.h.

Member Data Documentation

◆ model1

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
const Shape1* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model1

Definition at line 66 of file shape_distance_traversal_node.h.

◆ model2

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
const Shape2* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model2

Definition at line 67 of file shape_distance_traversal_node.h.

◆ nsolver

template<typename Shape1 , typename Shape2 , typename NarrowPhaseSolver >
const NarrowPhaseSolver* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::nsolver

Definition at line 69 of file shape_distance_traversal_node.h.


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


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