Traversal node for mesh-octree collision. More...
#include <hpp/fcl/traversal/traversal_node_octree.h>
Public Member Functions | |
MeshOcTreeCollisionTraversalNode (const CollisionRequest &request) | |
bool | BVTesting (int, int) const |
BV test between b1 and b2. More... | |
bool | BVTesting (int, int, FCL_REAL &) const |
BV test between b1 and b2. More... | |
void | leafTesting (int, int, FCL_REAL &) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
![]() | |
CollisionTraversalNodeBase (const CollisionRequest &request_) | |
virtual | ~CollisionTraversalNodeBase () |
virtual bool | canStop () const |
Check whether the traversal can stop. More... | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
![]() | |
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... | |
Public Attributes | |
const BVHModel< BV > * | model1 |
const OcTree * | model2 |
Transform3f | tf1 |
Transform3f | tf2 |
const OcTreeSolver< NarrowPhaseSolver > * | otsolver |
![]() | |
const CollisionRequest & | request |
request setting for collision More... | |
CollisionResult * | result |
collision result kept during the traversal iteration More... | |
bool | enable_statistics |
Whether stores statistics. More... | |
![]() | |
Transform3f | tf1 |
configuation of first object More... | |
Transform3f | tf2 |
configuration of second object More... | |
Traversal node for mesh-octree collision.
|
inline |
|
inlinevirtual |
BV test between b1 and b2.
Implements hpp::fcl::CollisionTraversalNodeBase.
|
inlinevirtual |
BV test between b1 and b2.
b1,b2 | Bounding volumes to test, |
sqrDistLowerBound | square of a lower bound of the minimal distance between bounding volumes. |
Implements hpp::fcl::CollisionTraversalNodeBase.
|
inlinevirtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from hpp::fcl::CollisionTraversalNodeBase.
const BVHModel<BV>* hpp::fcl::MeshOcTreeCollisionTraversalNode< BV, NarrowPhaseSolver >::model1 |
const OcTree* hpp::fcl::MeshOcTreeCollisionTraversalNode< BV, NarrowPhaseSolver >::model2 |
const OcTreeSolver<NarrowPhaseSolver>* hpp::fcl::MeshOcTreeCollisionTraversalNode< BV, NarrowPhaseSolver >::otsolver |
Transform3f hpp::fcl::MeshOcTreeCollisionTraversalNode< BV, NarrowPhaseSolver >::tf1 |
Transform3f hpp::fcl::MeshOcTreeCollisionTraversalNode< BV, NarrowPhaseSolver >::tf2 |