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

Traversal node for collision between shape and BVH. More...

#include <traversal_node_bvh_shape.h>

Inheritance diagram for fcl::ShapeBVHCollisionTraversalNode< S, BV >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool BVTesting (int b1, int b2) const
 BV culling test in one BVTT node.
bool firstOverSecond (int, int) const
 Alway extend the second model, which is a BVH model.
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 isSecondNodeLeaf (int b) const
 Whether the BV node in the second BVH tree is leaf.
 ShapeBVHCollisionTraversalNode ()

Public Attributes

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

Detailed Description

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

Traversal node for collision between shape and BVH.

Definition at line 102 of file traversal_node_bvh_shape.h.


Constructor & Destructor Documentation

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

Definition at line 105 of file traversal_node_bvh_shape.h.


Member Function Documentation

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

Alway extend the second model, which is a BVH model.

Reimplemented from fcl::TraversalNodeBase.

Definition at line 116 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
int fcl::ShapeBVHCollisionTraversalNode< S, 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 128 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
int fcl::ShapeBVHCollisionTraversalNode< S, 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 134 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
bool fcl::ShapeBVHCollisionTraversalNode< S, 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 122 of file traversal_node_bvh_shape.h.


Member Data Documentation

template<typename S, typename BV>
const S* fcl::ShapeBVHCollisionTraversalNode< S, BV >::model1

Definition at line 146 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
BV fcl::ShapeBVHCollisionTraversalNode< S, BV >::model1_bv

Definition at line 148 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
const BVHModel<BV>* fcl::ShapeBVHCollisionTraversalNode< S, BV >::model2

Definition at line 147 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
int fcl::ShapeBVHCollisionTraversalNode< S, BV >::num_bv_tests [mutable]

Definition at line 150 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
int fcl::ShapeBVHCollisionTraversalNode< S, BV >::num_leaf_tests [mutable]

Definition at line 151 of file traversal_node_bvh_shape.h.

template<typename S, typename BV>
FCL_REAL fcl::ShapeBVHCollisionTraversalNode< S, BV >::query_time_seconds [mutable]

Definition at line 152 of file traversal_node_bvh_shape.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:32