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

Traversal node for octree-shape distance. More...

#include <octree_shape_distance_traversal_node.h>

Inheritance diagram for fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >:
Inheritance graph
[legend]

Public Types

using S = typename Shape::S
 

Public Member Functions

S BVTesting (int, int) const
 BV test between b1 and b2. More...
 
void leafTesting (int, int) const
 Leaf test between node b1 and b2, if they are both leafs. More...
 
 OcTreeShapeDistanceTraversalNode ()
 
- Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< Shape::S >
virtual bool canStop (Shape::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< Shape::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 OcTree< S > * model1
 
const Shape * model2
 
const OcTreeSolver< NarrowPhaseSolver > * otsolver
 
- Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< Shape::S >
bool enable_statistics
 Whether stores statistics. More...
 
DistanceRequest< Shape::S > request
 request setting for distance More...
 
DistanceResult< Shape::S > * result
 distance result kept during the traversal iteration More...
 
- Public Attributes inherited from fcl::detail::TraversalNodeBase< Shape::S >
Transform3< Shape::S > tf1
 configuation of first object More...
 
Transform3< Shape::S > tf2
 configuration of second object More...
 

Detailed Description

template<typename Shape, typename NarrowPhaseSolver>
class fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >

Traversal node for octree-shape distance.

Definition at line 59 of file octree_shape_distance_traversal_node.h.

Member Typedef Documentation

◆ S

template<typename Shape , typename NarrowPhaseSolver >
using fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::S = typename Shape::S

Definition at line 64 of file octree_shape_distance_traversal_node.h.

Constructor & Destructor Documentation

◆ OcTreeShapeDistanceTraversalNode()

template<typename Shape , typename NarrowPhaseSolver >
fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::OcTreeShapeDistanceTraversalNode

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

Member Function Documentation

◆ BVTesting()

template<typename Shape , typename NarrowPhaseSolver >
Shape::S fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::BVTesting ( int  b1,
int  b2 
) const
virtual

BV test between b1 and b2.

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

Definition at line 64 of file octree_shape_distance_traversal_node-inl.h.

◆ leafTesting()

template<typename Shape , typename NarrowPhaseSolver >
void fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::leafTesting ( int  b1,
int  b2 
) const
virtual

Leaf test between node b1 and b2, if they are both leafs.

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

Definition at line 72 of file octree_shape_distance_traversal_node-inl.h.

Member Data Documentation

◆ model1

template<typename Shape , typename NarrowPhaseSolver >
const OcTree<S>* fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::model1

Definition at line 72 of file octree_shape_distance_traversal_node.h.

◆ model2

template<typename Shape , typename NarrowPhaseSolver >
const Shape* fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::model2

Definition at line 73 of file octree_shape_distance_traversal_node.h.

◆ otsolver

template<typename Shape , typename NarrowPhaseSolver >
const OcTreeSolver<NarrowPhaseSolver>* fcl::detail::OcTreeShapeDistanceTraversalNode< Shape, NarrowPhaseSolver >::otsolver

Definition at line 75 of file octree_shape_distance_traversal_node.h.


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


fcl
Author(s):
autogenerated on Tue Dec 5 2023 03:40:51