Public Member Functions | Public Attributes
fcl::BVHShapeDistanceTraversalNode< BV, S > Class Template Reference

Traversal node for distance computation between BVH and shape. More...

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

Inheritance diagram for fcl::BVHShapeDistanceTraversalNode< BV, S >:
[legend]
Collaboration diagram for fcl::BVHShapeDistanceTraversalNode< BV, S >:
[legend]

List of all members.

Public Member Functions

 BVHShapeDistanceTraversalNode ()
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf.
int getFirstLeftChild (int b) const
 Obtain the left child of BV node in the first BVH.
int getFirstRightChild (int b) const
 Obtain the right child of BV node in the first BVH.
FCL_REAL BVTesting (int b1, int) const
 BV culling test in one BVTT node.

Public Attributes

const BVHModel< BV > * model1
const S * model2
BV model2_bv
int num_bv_tests
int num_leaf_tests
FCL_REAL query_time_seconds

Detailed Description

template<typename BV, typename S>
class fcl::BVHShapeDistanceTraversalNode< BV, S >

Traversal node for distance computation between BVH and shape.


Constructor & Destructor Documentation

template<typename BV, typename S>
fcl::BVHShapeDistanceTraversalNode< BV, S >::BVHShapeDistanceTraversalNode ( ) [inline]

Member Function Documentation

template<typename BV, typename S>
FCL_REAL fcl::BVHShapeDistanceTraversalNode< BV, S >::BVTesting ( int  b1,
int   
) const [inline, virtual]
template<typename BV, typename S>
int fcl::BVHShapeDistanceTraversalNode< BV, S >::getFirstLeftChild ( int  b) const [inline, virtual]

Obtain the left child of BV node in the first BVH.

Reimplemented from fcl::TraversalNodeBase.

template<typename BV, typename S>
int fcl::BVHShapeDistanceTraversalNode< BV, S >::getFirstRightChild ( int  b) const [inline, virtual]

Obtain the right child of BV node in the first BVH.

Reimplemented from fcl::TraversalNodeBase.

template<typename BV, typename S>
bool fcl::BVHShapeDistanceTraversalNode< BV, S >::isFirstNodeLeaf ( int  b) const [inline, virtual]

Whether the BV node in the first BVH tree is leaf.

Reimplemented from fcl::TraversalNodeBase.


Member Data Documentation

template<typename BV, typename S>
const BVHModel<BV>* fcl::BVHShapeDistanceTraversalNode< BV, S >::model1
template<typename BV, typename S>
const S* fcl::BVHShapeDistanceTraversalNode< BV, S >::model2
template<typename BV, typename S>
BV fcl::BVHShapeDistanceTraversalNode< BV, S >::model2_bv
template<typename BV, typename S>
int fcl::BVHShapeDistanceTraversalNode< BV, S >::num_bv_tests [mutable]
template<typename BV, typename S>
int fcl::BVHShapeDistanceTraversalNode< BV, S >::num_leaf_tests [mutable]
template<typename BV, typename S>
FCL_REAL fcl::BVHShapeDistanceTraversalNode< BV, S >::query_time_seconds [mutable]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines