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

Traversal node for distance between mesh and shape. More...

#include <mesh_shape_distance_traversal_node.h>

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

Public Types

using S = typename BV::S
 
- Public Types inherited from fcl::detail::BVHShapeDistanceTraversalNode< BV, Shape >
using S = typename BV::S
 

Public Member Functions

bool canStop (S c) const
 Whether the traversal process can stop early. More...
 
void leafTesting (int b1, int b2) const
 Distance testing between leaves (one triangle and one shape) More...
 
 MeshShapeDistanceTraversalNode ()
 
- Public Member Functions inherited from fcl::detail::BVHShapeDistanceTraversalNode< BV, Shape >
 BVHShapeDistanceTraversalNode ()
 
S BVTesting (int b1, int b2) const
 BV culling test in one BVTT node. More...
 
int getFirstLeftChild (int b) const
 Obtain the left child of BV node in the first BVH. More...
 
int getFirstRightChild (int b) const
 Obtain the right child of BV node in the first BVH. More...
 
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf. More...
 
- Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< BV::S >
virtual bool canStop (BV::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< BV::S >
virtual bool firstOverSecond (int b1, int b2) const
 Traverse the subtree of the node in the first tree first. 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 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

S abs_err
 
const NarrowPhaseSolver * nsolver
 
S rel_err
 
Triangletri_indices
 
Vector3< S > * vertices
 
- Public Attributes inherited from fcl::detail::BVHShapeDistanceTraversalNode< BV, Shape >
const BVHModel< BV > * model1
 
const Shape * model2
 
BV model2_bv
 
int num_bv_tests
 
int num_leaf_tests
 
S query_time_seconds
 
- Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< BV::S >
bool enable_statistics
 Whether stores statistics. More...
 
DistanceRequest< BV::S > request
 request setting for distance More...
 
DistanceResult< BV::S > * result
 distance result kept during the traversal iteration More...
 
- Public Attributes inherited from fcl::detail::TraversalNodeBase< BV::S >
Transform3< BV::S > tf1
 configuation of first object More...
 
Transform3< BV::S > tf2
 configuration of second object More...
 

Detailed Description

template<typename BV, typename Shape, typename NarrowPhaseSolver>
class fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >

Traversal node for distance between mesh and shape.

Definition at line 52 of file mesh_shape_distance_traversal_node.h.

Member Typedef Documentation

◆ S

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

Definition at line 57 of file mesh_shape_distance_traversal_node.h.

Constructor & Destructor Documentation

◆ MeshShapeDistanceTraversalNode()

template<typename BV , typename Shape , typename NarrowPhaseSolver >
fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::MeshShapeDistanceTraversalNode

Definition at line 54 of file mesh_shape_distance_traversal_node-inl.h.

Member Function Documentation

◆ canStop()

template<typename BV , typename Shape , typename NarrowPhaseSolver >
bool fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::canStop ( S  c) const

Whether the traversal process can stop early.

Definition at line 102 of file mesh_shape_distance_traversal_node-inl.h.

◆ leafTesting()

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

Distance testing between leaves (one triangle and one shape)

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

Definition at line 69 of file mesh_shape_distance_traversal_node-inl.h.

Member Data Documentation

◆ abs_err

template<typename BV , typename Shape , typename NarrowPhaseSolver >
S fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::abs_err

Definition at line 71 of file mesh_shape_distance_traversal_node.h.

◆ nsolver

template<typename BV , typename Shape , typename NarrowPhaseSolver >
const NarrowPhaseSolver* fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::nsolver

Definition at line 73 of file mesh_shape_distance_traversal_node.h.

◆ rel_err

template<typename BV , typename Shape , typename NarrowPhaseSolver >
S fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::rel_err

Definition at line 70 of file mesh_shape_distance_traversal_node.h.

◆ tri_indices

template<typename BV , typename Shape , typename NarrowPhaseSolver >
Triangle* fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::tri_indices

Definition at line 68 of file mesh_shape_distance_traversal_node.h.

◆ vertices

template<typename BV , typename Shape , typename NarrowPhaseSolver >
Vector3<S>* fcl::detail::MeshShapeDistanceTraversalNode< BV, Shape, NarrowPhaseSolver >::vertices

Definition at line 67 of file mesh_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:02