FCL
0.6.0
Flexible Collision Library
|
Traversal node for octree-shape collision. More...
#include <octree_shape_collision_traversal_node.h>
Public Types | |
using | S = typename Shape::S |
Public Member Functions | |
bool | BVTesting (int, int) const |
BV test between b1 and b2. | |
void | leafTesting (int, int) const |
Leaf test between node b1 and b2, if they are both leafs. | |
Public Member Functions inherited from fcl::detail::CollisionTraversalNodeBase< Shape::S > | |
virtual bool | canStop () const |
Check whether the traversal can stop. | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. | |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< Shape::S > | |
virtual void | preprocess () |
virtual void | postprocess () |
virtual bool | isFirstNodeLeaf (int b) const |
Whether b is a leaf node in the first BVH tree. | |
virtual bool | isSecondNodeLeaf (int b) const |
Whether b is a leaf node in the second BVH tree. | |
virtual bool | firstOverSecond (int b1, int b2) const |
Traverse the subtree of the node in the first tree first. | |
virtual int | getFirstLeftChild (int b) const |
Get the left child of the node b in the first tree. | |
virtual int | getFirstRightChild (int b) const |
Get the right child of the node b in the first tree. | |
virtual int | getSecondLeftChild (int b) const |
Get the left child of the node b in the second tree. | |
virtual int | getSecondRightChild (int b) const |
Get the right child of the node b in the second tree. | |
Public Attributes | |
const OcTree< S > * | model1 |
const Shape * | model2 |
Transform3< S > | tf1 |
Transform3< S > | tf2 |
const OcTreeSolver< NarrowPhaseSolver > * | otsolver |
Public Attributes inherited from fcl::detail::CollisionTraversalNodeBase< Shape::S > | |
CollisionRequest< Shape::S > | request |
request setting for collision | |
CollisionResult< Shape::S > * | result |
collision result kept during the traversal iteration | |
bool | enable_statistics |
Whether stores statistics. | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< Shape::S > | |
Transform3< Shape::S > | tf1 |
configuation of first object | |
Transform3< Shape::S > | tf2 |
configuration of second object | |
Traversal node for octree-shape collision.