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

#include <mesh_distance_traversal_node.h>

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

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...
 
 MeshDistanceTraversalNodekIOS ()
 
void postprocess ()
 
void preprocess ()
 
- Public Member Functions inherited from fcl::detail::MeshDistanceTraversalNode< kIOS< S > >
bool canStop (S c) const
 Whether the traversal process can stop early. More...
 
void leafTesting (int b1, int b2) const
 Distance testing between leaves (two triangles) More...
 
 MeshDistanceTraversalNode ()
 
- Public Member Functions inherited from fcl::detail::BVHDistanceTraversalNode< kIOS< S > >
 BVHDistanceTraversalNode ()
 
S BVTesting (int b1, int b2) const
 BV culling test in one BVTT node. More...
 
bool firstOverSecond (int b1, int b2) const
 Determine the traversal order, is the first BVTT subtree better. 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...
 
int getSecondLeftChild (int b) const
 Obtain the left child of BV node in the second BVH. More...
 
int getSecondRightChild (int b) const
 Obtain the right child of BV node in the second BVH. More...
 
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf. More...
 
bool isSecondNodeLeaf (int b) const
 Whether the BV node in the second BVH tree is leaf. More...
 
- Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< kIOS< S > ::S >
virtual bool canStop (kIOS< 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< S > ::S >
virtual ~TraversalNodeBase ()
 

Public Attributes

Transform3< Stf
 
- Public Attributes inherited from fcl::detail::MeshDistanceTraversalNode< kIOS< S > >
S abs_err
 
S rel_err
 relative and absolute error, default value is 0.01 for both terms More...
 
Triangletri_indices1
 
Triangletri_indices2
 
Vector3< S > * vertices1
 
Vector3< S > * vertices2
 
- Public Attributes inherited from fcl::detail::BVHDistanceTraversalNode< kIOS< S > >
const BVHModel< kIOS< S > > * model1
 The first BVH model. More...
 
const BVHModel< kIOS< S > > * model2
 The second BVH model. More...
 
int num_bv_tests
 statistical information More...
 
int num_leaf_tests
 
S query_time_seconds
 
- Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< kIOS< S > ::S >
bool enable_statistics
 Whether stores statistics. More...
 
DistanceRequest< kIOS< S > ::S > request
 request setting for distance More...
 
DistanceResult< kIOS< S > ::S > * result
 distance result kept during the traversal iteration More...
 
- Public Attributes inherited from fcl::detail::TraversalNodeBase< kIOS< S > ::S >
Transform3< kIOS< S > ::S > tf1
 configuation of first object More...
 
Transform3< kIOS< S > ::S > tf2
 configuration of second object More...
 

Additional Inherited Members

- Public Types inherited from fcl::detail::MeshDistanceTraversalNode< kIOS< S > >
using S = typename kIOS< S > ::S
 
- Public Types inherited from fcl::detail::BVHDistanceTraversalNode< kIOS< S > >
using S = typename kIOS< S > ::S
 

Detailed Description

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

Definition at line 137 of file mesh_distance_traversal_node.h.

Constructor & Destructor Documentation

◆ MeshDistanceTraversalNodekIOS()

Definition at line 284 of file mesh_distance_traversal_node-inl.h.

Member Function Documentation

◆ BVTesting()

template<typename S >
S fcl::detail::MeshDistanceTraversalNodekIOS< S >::BVTesting ( int  b1,
int  b2 
) const
inlinevirtual

BV test between b1 and b2.

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

Definition at line 147 of file mesh_distance_traversal_node.h.

◆ leafTesting()

template<typename S >
void fcl::detail::MeshDistanceTraversalNodekIOS< S >::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< S > ::S >.

Definition at line 323 of file mesh_distance_traversal_node-inl.h.

◆ postprocess()

template<typename S >
void fcl::detail::MeshDistanceTraversalNodekIOS< S >::postprocess
virtual

◆ preprocess()

template<typename S >
void fcl::detail::MeshDistanceTraversalNodekIOS< S >::preprocess
virtual

Member Data Documentation

◆ tf

Definition at line 156 of file mesh_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:50