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

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

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

Inheritance diagram for fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >:
Collaboration diagram for fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >:

Public Member Functions

 MeshShapeDistanceTraversalNode ()
 
void leafTesting (int b1, int b2) const
 Distance testing between leaves (one triangle and one shape) More...
 
bool canStop (FCL_REAL c) const
 Whether the traversal process can stop early. More...
 
- Public Member Functions inherited from fcl::BVHShapeDistanceTraversalNode< BV, S >
 BVHShapeDistanceTraversalNode ()
 
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf. 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...
 
FCL_REAL BVTesting (int b1, int b2) const
 BV culling test in one BVTT node. 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 ()
 
virtual bool isSecondNodeLeaf (int b) const
 Whether b is a leaf node in the second BVH tree. More...
 
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...
 

Public Attributes

Vec3fvertices
 
Triangletri_indices
 
FCL_REAL rel_err
 
FCL_REAL abs_err
 
const NarrowPhaseSolver * nsolver
 
- Public Attributes inherited from fcl::BVHShapeDistanceTraversalNode< BV, S >
const BVHModel< BV > * model1
 
const S * model2
 
BV model2_bv
 
int num_bv_tests
 
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, typename S, typename NarrowPhaseSolver>
class fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >

Traversal node for distance between mesh and shape.

Constructor & Destructor Documentation

template<typename BV, typename S, typename NarrowPhaseSolver>
fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >::MeshShapeDistanceTraversalNode ( )
inline

Member Function Documentation

template<typename BV, typename S, typename NarrowPhaseSolver>
bool fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >::canStop ( FCL_REAL  c) const
inlinevirtual
template<typename BV, typename S, typename NarrowPhaseSolver>
void fcl::MeshShapeDistanceTraversalNode< BV, S, NarrowPhaseSolver >::leafTesting ( int  b1,
int  b2 
) const
inlinevirtual

Member Data Documentation