All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Public Attributes
fcl::BVHDistanceTraversalNode< BV > Class Template Reference

Traversal node for distance computation between BVH models. More...

#include <traversal_node_bvhs.h>

Inheritance diagram for fcl::BVHDistanceTraversalNode< BV >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BVHDistanceTraversalNode ()
FCL_REAL BVTesting (int b1, int b2) const
 BV culling test in one BVTT node.
bool firstOverSecond (int b1, int b2) const
 Determine the traversal order, is the first BVTT subtree better.
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.
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.
bool isFirstNodeLeaf (int b) const
 Whether the BV node in the first BVH tree is leaf.
bool isSecondNodeLeaf (int b) const
 Whether the BV node in the second BVH tree is leaf.

Public Attributes

const BVHModel< BV > * model1
 The first BVH model.
const BVHModel< BV > * model2
 The second BVH model.
int num_bv_tests
 statistical information
int num_leaf_tests
FCL_REAL query_time_seconds

Detailed Description

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

Traversal node for distance computation between BVH models.

Definition at line 454 of file traversal_node_bvhs.h.


Constructor & Destructor Documentation

template<typename BV>
fcl::BVHDistanceTraversalNode< BV >::BVHDistanceTraversalNode ( ) [inline]

Definition at line 457 of file traversal_node_bvhs.h.


Member Function Documentation

template<typename BV>
FCL_REAL fcl::BVHDistanceTraversalNode< BV >::BVTesting ( int  b1,
int  b2 
) const [inline, virtual]
template<typename BV>
bool fcl::BVHDistanceTraversalNode< BV >::firstOverSecond ( int  b1,
int  b2 
) const [inline, virtual]

Determine the traversal order, is the first BVTT subtree better.

Reimplemented from fcl::TraversalNodeBase.

Definition at line 480 of file traversal_node_bvhs.h.

template<typename BV>
int fcl::BVHDistanceTraversalNode< BV >::getFirstLeftChild ( int  b) const [inline, virtual]

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 494 of file traversal_node_bvhs.h.

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

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 500 of file traversal_node_bvhs.h.

template<typename BV>
int fcl::BVHDistanceTraversalNode< BV >::getSecondLeftChild ( int  b) const [inline, virtual]

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 506 of file traversal_node_bvhs.h.

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

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 512 of file traversal_node_bvhs.h.

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

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 468 of file traversal_node_bvhs.h.

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

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

Reimplemented from fcl::TraversalNodeBase.

Definition at line 474 of file traversal_node_bvhs.h.


Member Data Documentation

template<typename BV>
const BVHModel<BV>* fcl::BVHDistanceTraversalNode< BV >::model1

The first BVH model.

Definition at line 525 of file traversal_node_bvhs.h.

template<typename BV>
const BVHModel<BV>* fcl::BVHDistanceTraversalNode< BV >::model2

The second BVH model.

Definition at line 527 of file traversal_node_bvhs.h.

template<typename BV>
int fcl::BVHDistanceTraversalNode< BV >::num_bv_tests [mutable]

statistical information

Definition at line 530 of file traversal_node_bvhs.h.

template<typename BV>
int fcl::BVHDistanceTraversalNode< BV >::num_leaf_tests [mutable]

Definition at line 531 of file traversal_node_bvhs.h.

template<typename BV>
FCL_REAL fcl::BVHDistanceTraversalNode< BV >::query_time_seconds [mutable]

Definition at line 532 of file traversal_node_bvhs.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


fcl
Author(s): Jia Pan
autogenerated on Tue Jan 15 2013 16:05:31