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

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

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

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

List of all members.

Public Member Functions

 ShapeBVHDistanceTraversalNode ()
bool isSecondNodeLeaf (int b) const
 Whether the BV node in the second BVH tree is leaf.
int getSecondLeftChild (int b) const
 Obtain the left child of BV node in the second BVH.
int getSecondRightChild (int b) const
 Obtain the right child of BV node in the second BVH.
FCL_REAL BVTesting (int b1, int b2) const
 BV culling test in one BVTT node.

Public Attributes

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

Detailed Description

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

Traversal node for distance computation between shape and BVH.


Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Reimplemented from fcl::TraversalNodeBase.

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

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

Reimplemented from fcl::TraversalNodeBase.

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

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

Reimplemented from fcl::TraversalNodeBase.


Member Data Documentation

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