All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fcl::TraversalNodeBase Class Referenceabstract

Node structure encoding the information required for traversal. More...

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

Inheritance diagram for fcl::TraversalNodeBase:
Collaboration diagram for fcl::TraversalNodeBase:

Public Member Functions

virtual ~TraversalNodeBase ()
 
virtual void preprocess ()
 
virtual void postprocess ()
 
virtual bool isFirstNodeLeaf (int b) const
 Whether b is a leaf node in the first BVH tree. More...
 
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 getFirstLeftChild (int b) const
 Get the left child of the node b in the first tree. More...
 
virtual int getFirstRightChild (int b) const
 Get the right child of the node b in the first tree. 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...
 
virtual void enableStatistics (bool enable)=0
 Enable statistics (verbose mode) More...
 

Public Attributes

Transform3f tf1
 configuation of first object More...
 
Transform3f tf2
 configuration of second object More...
 

Detailed Description

Node structure encoding the information required for traversal.

Constructor & Destructor Documentation

virtual fcl::TraversalNodeBase::~TraversalNodeBase ( )
virtual

Member Function Documentation

virtual void fcl::TraversalNodeBase::enableStatistics ( bool  enable)
pure virtual

Enable statistics (verbose mode)

Implemented in fcl::DistanceTraversalNodeBase, and fcl::CollisionTraversalNodeBase.

Member Data Documentation