Traversal node for distance computation between shape and BVH. More...
#include <shape_bvh_distance_traversal_node.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
S | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. More... | |
int | getSecondLeftChild (int b) const |
Obtain the left child of BV node in the second BVH. More... | |
int | getSecondRightChild (int b) const |
Obtain the right child of BV node in the second BVH. More... | |
bool | isSecondNodeLeaf (int b) const |
Whether the BV node in the second BVH tree is leaf. More... | |
ShapeBVHDistanceTraversalNode () | |
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 void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. 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 bool | isFirstNodeLeaf (int b) const |
Whether b is a leaf node in the first BVH tree. More... | |
virtual void | postprocess () |
virtual void | preprocess () |
virtual | ~TraversalNodeBase () |
Public Attributes | |
const Shape * | model1 |
BV | model1_bv |
const BVHModel< BV > * | model2 |
int | num_bv_tests |
int | num_leaf_tests |
S | query_time_seconds |
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 distance computation between shape and BVH.
Definition at line 53 of file shape_bvh_distance_traversal_node.h.
using fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >::S = typename BV::S |
Definition at line 58 of file shape_bvh_distance_traversal_node.h.
fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >::ShapeBVHDistanceTraversalNode |
Definition at line 53 of file shape_bvh_distance_traversal_node-inl.h.
|
virtual |
BV culling test in one BVTT node.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< BV::S >.
Reimplemented in fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, BV, NarrowPhaseSolver >, fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, RSS< Shape::S >, NarrowPhaseSolver >, and fcl::detail::ShapeMeshConservativeAdvancementTraversalNode< Shape, OBBRSS< Shape::S >, NarrowPhaseSolver >.
Definition at line 88 of file shape_bvh_distance_traversal_node-inl.h.
|
virtual |
Obtain the left child of BV node in the second BVH.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 73 of file shape_bvh_distance_traversal_node-inl.h.
|
virtual |
Obtain the right child of BV node in the second BVH.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 80 of file shape_bvh_distance_traversal_node-inl.h.
|
virtual |
Whether the BV node in the second BVH tree is leaf.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 66 of file shape_bvh_distance_traversal_node-inl.h.
const Shape* fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >::model1 |
Definition at line 74 of file shape_bvh_distance_traversal_node.h.
BV fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >::model1_bv |
Definition at line 76 of file shape_bvh_distance_traversal_node.h.
const BVHModel<BV>* fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV >::model2 |
Definition at line 75 of file shape_bvh_distance_traversal_node.h.
|
mutable |
Definition at line 78 of file shape_bvh_distance_traversal_node.h.
|
mutable |
Definition at line 79 of file shape_bvh_distance_traversal_node.h.
|
mutable |
Definition at line 80 of file shape_bvh_distance_traversal_node.h.