Traversal node for mesh-octree distance. More...
#include <mesh_octree_distance_traversal_node.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
S | 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... | |
MeshOcTreeDistanceTraversalNode () | |
Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< BV::S > | |
virtual bool | canStop (BV::S c) const |
Check whether the traversal can stop. More... | |
DistanceTraversalNodeBase () | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
virtual | ~DistanceTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< BV::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 BVHModel< BV > * | model1 |
const OcTree< S > * | model2 |
const OcTreeSolver< NarrowPhaseSolver > * | otsolver |
Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< BV::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
DistanceRequest< BV::S > | request |
request setting for distance More... | |
DistanceResult< BV::S > * | result |
distance result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< BV::S > | |
Transform3< BV::S > | tf1 |
configuation of first object More... | |
Transform3< BV::S > | tf2 |
configuration of second object More... | |
Traversal node for mesh-octree distance.
Definition at line 59 of file mesh_octree_distance_traversal_node.h.
using fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >::S = typename BV::S |
Definition at line 64 of file mesh_octree_distance_traversal_node.h.
fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >::MeshOcTreeDistanceTraversalNode |
Definition at line 52 of file mesh_octree_distance_traversal_node-inl.h.
|
virtual |
BV test between b1 and b2.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< BV::S >.
Definition at line 63 of file mesh_octree_distance_traversal_node-inl.h.
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< BV::S >.
Definition at line 71 of file mesh_octree_distance_traversal_node-inl.h.
const BVHModel<BV>* fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >::model1 |
Definition at line 72 of file mesh_octree_distance_traversal_node.h.
const OcTree<S>* fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >::model2 |
Definition at line 73 of file mesh_octree_distance_traversal_node.h.
const OcTreeSolver<NarrowPhaseSolver>* fcl::detail::MeshOcTreeDistanceTraversalNode< BV, NarrowPhaseSolver >::otsolver |
Definition at line 75 of file mesh_octree_distance_traversal_node.h.