All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::MeshConservativeAdvancementTraversalNode< BV > Class Template Reference

continuous collision node using conservative advancement. when using this default version, must refit the BVH in current configuration (R_t, T_t) into default configuration More...

#include <hpp/fcl/traversal/traversal_node_bvhs.h>

Inheritance diagram for fcl::MeshConservativeAdvancementTraversalNode< BV >:
Collaboration diagram for fcl::MeshConservativeAdvancementTraversalNode< BV >:

Public Member Functions

 MeshConservativeAdvancementTraversalNode (FCL_REAL w_=1)
 
FCL_REAL BVTesting (int b1, int b2) const
 BV culling test in one BVTT node. More...
 
void leafTesting (int b1, int b2) const
 Conservative advancement testing between leaves (two triangles) More...
 
bool canStop (FCL_REAL c) const
 Whether the traversal process can stop early. More...
 
template<>
bool canStop (FCL_REAL c) const
 Whether the traversal process can stop early. More...
 
template<>
bool canStop (FCL_REAL c) const
 Whether the traversal process can stop early. More...
 
template<>
bool canStop (FCL_REAL c) const
 Whether the traversal process can stop early. More...
 
- Public Member Functions inherited from fcl::MeshDistanceTraversalNode< BV >
 MeshDistanceTraversalNode ()
 
- Public Member Functions inherited from fcl::BVHDistanceTraversalNode< BV >
 BVHDistanceTraversalNode ()
 
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...
 
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...
 
- Public Member Functions inherited from fcl::DistanceTraversalNodeBase
 DistanceTraversalNodeBase ()
 
virtual ~DistanceTraversalNodeBase ()
 
void enableStatistics (bool enable)
 Whether store some statistics information during traversal. More...
 
- Public Member Functions inherited from fcl::TraversalNodeBase
virtual ~TraversalNodeBase ()
 
virtual void preprocess ()
 
virtual void postprocess ()
 

Public Attributes

FCL_REAL min_distance
 
Vec3f closest_p1
 
Vec3f closest_p2
 
int last_tri_id1
 
int last_tri_id2
 
FCL_REAL w
 CA controlling variable: early stop for the early iterations of CA. More...
 
FCL_REAL toc
 The time from beginning point. More...
 
FCL_REAL t_err
 
FCL_REAL delta_t
 The delta_t each step. More...
 
const MotionBasemotion1
 Motions for the two objects in query. More...
 
const MotionBasemotion2
 
std::vector
< ConservativeAdvancementStackData
stack
 
- Public Attributes inherited from fcl::MeshDistanceTraversalNode< BV >
Vec3fvertices1
 
Vec3fvertices2
 
Triangletri_indices1
 
Triangletri_indices2
 
FCL_REAL rel_err
 relative and absolute error, default value is 0.01 for both terms More...
 
FCL_REAL abs_err
 
- Public Attributes inherited from fcl::BVHDistanceTraversalNode< BV >
const BVHModel< BV > * model1
 The first BVH model. More...
 
const BVHModel< BV > * model2
 The second BVH model. More...
 
int num_bv_tests
 statistical information More...
 
int num_leaf_tests
 
FCL_REAL query_time_seconds
 
- Public Attributes inherited from fcl::DistanceTraversalNodeBase
DistanceRequest request
 request setting for distance More...
 
DistanceResultresult
 distance result kept during the traversal iteration More...
 
bool enable_statistics
 Whether stores statistics. More...
 
- Public Attributes inherited from fcl::TraversalNodeBase
Transform3f tf1
 configuation of first object More...
 
Transform3f tf2
 configuration of second object More...
 

Detailed Description

template<typename BV>
class fcl::MeshConservativeAdvancementTraversalNode< BV >

continuous collision node using conservative advancement. when using this default version, must refit the BVH in current configuration (R_t, T_t) into default configuration

Constructor & Destructor Documentation

Member Function Documentation

template<typename BV>
FCL_REAL fcl::MeshConservativeAdvancementTraversalNode< BV >::BVTesting ( int  b1,
int  b2 
) const
inlinevirtual

BV culling test in one BVTT node.

Reimplemented from fcl::BVHDistanceTraversalNode< BV >.

template<typename BV>
bool fcl::MeshConservativeAdvancementTraversalNode< BV >::canStop ( FCL_REAL  c) const
inlinevirtual

Whether the traversal process can stop early.

Reimplemented from fcl::MeshDistanceTraversalNode< BV >.

template<>
bool fcl::MeshConservativeAdvancementTraversalNode< OBB >::canStop ( FCL_REAL  c) const
inlinevirtual

Whether the traversal process can stop early.

Reimplemented from fcl::MeshDistanceTraversalNode< BV >.

References fcl::details::meshConservativeAdvancementTraversalNodeCanStop().

template<>
bool fcl::MeshConservativeAdvancementTraversalNode< RSS >::canStop ( FCL_REAL  c) const
inlinevirtual

Whether the traversal process can stop early.

Reimplemented from fcl::MeshDistanceTraversalNode< BV >.

References fcl::details::meshConservativeAdvancementTraversalNodeCanStop().

template<>
bool fcl::MeshConservativeAdvancementTraversalNode< OBBRSS >::canStop ( FCL_REAL  c) const
inlinevirtual

Whether the traversal process can stop early.

Reimplemented from fcl::MeshDistanceTraversalNode< BV >.

References fcl::details::meshConservativeAdvancementTraversalNodeCanStop().

template<typename BV>
void fcl::MeshConservativeAdvancementTraversalNode< BV >::leafTesting ( int  b1,
int  b2 
) const
inlinevirtual

Conservative advancement testing between leaves (two triangles)

Reimplemented from fcl::MeshDistanceTraversalNode< BV >.

Member Data Documentation