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

#include <mesh_shape_distance_traversal_node.h>

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

Public Types

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

Public Member Functions

S BVTesting (int b1, int b2) const
 BV test between b1 and b2. More...
 
void leafTesting (int b1, int b2) const
 Leaf test between node b1 and b2, if they are both leafs. More...
 
 MeshShapeDistanceTraversalNodekIOS ()
 
void postprocess ()
 
void preprocess ()
 
- Public Member Functions inherited from fcl::detail::MeshShapeDistanceTraversalNode< kIOS< Shape::S >, Shape, NarrowPhaseSolver >
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< kIOS< Shape::S >, 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< kIOS< Shape::S > ::S >
virtual bool canStop (kIOS< Shape::S > ::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< kIOS< Shape::S > ::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 ~TraversalNodeBase ()
 

Additional Inherited Members

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

Detailed Description

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

Definition at line 151 of file mesh_shape_distance_traversal_node.h.

Member Typedef Documentation

◆ S

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

Definition at line 155 of file mesh_shape_distance_traversal_node.h.

Constructor & Destructor Documentation

◆ MeshShapeDistanceTraversalNodekIOS()

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

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

Member Function Documentation

◆ BVTesting()

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

BV test between b1 and b2.

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

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

◆ leafTesting()

template<typename Shape , typename NarrowPhaseSolver >
void fcl::detail::MeshShapeDistanceTraversalNodekIOS< 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< kIOS< Shape::S > ::S >.

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

◆ postprocess()

template<typename Shape , typename NarrowPhaseSolver >
void fcl::detail::MeshShapeDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >::postprocess
virtual

◆ preprocess()

template<typename Shape , typename NarrowPhaseSolver >
void fcl::detail::MeshShapeDistanceTraversalNodekIOS< Shape, NarrowPhaseSolver >::preprocess
virtual

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


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