Traversal node for octree collision. More...
#include <octree_collision_traversal_node.h>
Public Types | |
using | S = typename NarrowPhaseSolver::S |
Public Member Functions | |
bool | BVTesting (int, int) const |
BV test between b1 and b2. More... | |
void | leafTesting (int, int) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
OcTreeCollisionTraversalNode () | |
Public Member Functions inherited from fcl::detail::CollisionTraversalNodeBase< NarrowPhaseSolver::S > | |
virtual bool | canStop () const |
Check whether the traversal can stop. More... | |
CollisionTraversalNodeBase () | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
virtual | ~CollisionTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< NarrowPhaseSolver::S > | |
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 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 void | postprocess () |
virtual void | preprocess () |
virtual | ~TraversalNodeBase () |
Public Attributes | |
const OcTree< S > * | model1 |
const OcTree< S > * | model2 |
const OcTreeSolver< NarrowPhaseSolver > * | otsolver |
Transform3< S > | tf1 |
Transform3< S > | tf2 |
Public Attributes inherited from fcl::detail::CollisionTraversalNodeBase< NarrowPhaseSolver::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
CollisionRequest< NarrowPhaseSolver::S > | request |
request setting for collision More... | |
CollisionResult< NarrowPhaseSolver::S > * | result |
collision result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< NarrowPhaseSolver::S > | |
Transform3< NarrowPhaseSolver::S > | tf1 |
configuation of first object More... | |
Transform3< NarrowPhaseSolver::S > | tf2 |
configuration of second object More... | |
Traversal node for octree collision.
Definition at line 58 of file octree_collision_traversal_node.h.
using fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::S = typename NarrowPhaseSolver::S |
Definition at line 63 of file octree_collision_traversal_node.h.
fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::OcTreeCollisionTraversalNode |
Definition at line 51 of file octree_collision_traversal_node-inl.h.
|
virtual |
BV test between b1 and b2.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< NarrowPhaseSolver::S >.
Definition at line 61 of file octree_collision_traversal_node-inl.h.
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< NarrowPhaseSolver::S >.
Definition at line 69 of file octree_collision_traversal_node-inl.h.
const OcTree<S>* fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::model1 |
Definition at line 71 of file octree_collision_traversal_node.h.
const OcTree<S>* fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::model2 |
Definition at line 72 of file octree_collision_traversal_node.h.
const OcTreeSolver<NarrowPhaseSolver>* fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::otsolver |
Definition at line 77 of file octree_collision_traversal_node.h.
Transform3<S> fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::tf1 |
Definition at line 74 of file octree_collision_traversal_node.h.
Transform3<S> fcl::detail::OcTreeCollisionTraversalNode< NarrowPhaseSolver >::tf2 |
Definition at line 75 of file octree_collision_traversal_node.h.