Traversal node for distance between two shapes. More...
#include <shape_distance_traversal_node.h>
Public Types | |
using | S = typename Shape1::S |
Public Member Functions | |
S | BVTesting (int, int) const |
BV culling test in one BVTT node. More... | |
void | leafTesting (int, int) const |
Distance testing between leaves (two shapes) More... | |
ShapeDistanceTraversalNode () | |
Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< Shape1::S > | |
virtual bool | canStop (Shape1::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< Shape1::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 Shape1 * | model1 |
const Shape2 * | model2 |
const NarrowPhaseSolver * | nsolver |
Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< Shape1::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
DistanceRequest< Shape1::S > | request |
request setting for distance More... | |
DistanceResult< Shape1::S > * | result |
distance result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< Shape1::S > | |
Transform3< Shape1::S > | tf1 |
configuation of first object More... | |
Transform3< Shape1::S > | tf2 |
configuration of second object More... | |
Traversal node for distance between two shapes.
Definition at line 52 of file shape_distance_traversal_node.h.
using fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::S = typename Shape1::S |
Definition at line 56 of file shape_distance_traversal_node.h.
fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::ShapeDistanceTraversalNode |
Definition at line 52 of file shape_distance_traversal_node-inl.h.
|
virtual |
BV culling test in one BVTT node.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< Shape1::S >.
Definition at line 63 of file shape_distance_traversal_node-inl.h.
|
virtual |
Distance testing between leaves (two shapes)
Reimplemented from fcl::detail::DistanceTraversalNodeBase< Shape1::S >.
Definition at line 70 of file shape_distance_traversal_node-inl.h.
const Shape1* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model1 |
Definition at line 66 of file shape_distance_traversal_node.h.
const Shape2* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model2 |
Definition at line 67 of file shape_distance_traversal_node.h.
const NarrowPhaseSolver* fcl::detail::ShapeDistanceTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::nsolver |
Definition at line 69 of file shape_distance_traversal_node.h.