Traversal node for distance between shape and mesh. More...
#include <shape_mesh_distance_traversal_node.h>
Public Types | |
using | S = typename BV::S |
Public Types inherited from fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV > | |
using | S = typename BV::S |
Public Member Functions | |
bool | canStop (S c) const |
Whether the traversal process can stop early. More... | |
void | leafTesting (int b1, int b2) const |
Distance testing between leaves (one shape and one triangle) More... | |
ShapeMeshDistanceTraversalNode () | |
Public Member Functions inherited from fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV > | |
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 | ~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 | |
S | abs_err |
const NarrowPhaseSolver * | nsolver |
S | rel_err |
Triangle * | tri_indices |
Vector3< S > * | vertices |
Public Attributes inherited from fcl::detail::ShapeBVHDistanceTraversalNode< Shape, BV > | |
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 between shape and mesh.
Definition at line 52 of file shape_mesh_distance_traversal_node.h.
using fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::S = typename BV::S |
Definition at line 57 of file shape_mesh_distance_traversal_node.h.
fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::ShapeMeshDistanceTraversalNode |
Definition at line 54 of file shape_mesh_distance_traversal_node-inl.h.
bool fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::canStop | ( | S | c | ) | const |
Whether the traversal process can stop early.
Definition at line 102 of file shape_mesh_distance_traversal_node-inl.h.
|
virtual |
Distance testing between leaves (one shape and one triangle)
Reimplemented from fcl::detail::DistanceTraversalNodeBase< BV::S >.
Definition at line 68 of file shape_mesh_distance_traversal_node-inl.h.
S fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::abs_err |
Definition at line 71 of file shape_mesh_distance_traversal_node.h.
const NarrowPhaseSolver* fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::nsolver |
Definition at line 73 of file shape_mesh_distance_traversal_node.h.
S fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::rel_err |
Definition at line 70 of file shape_mesh_distance_traversal_node.h.
Triangle* fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::tri_indices |
Definition at line 68 of file shape_mesh_distance_traversal_node.h.
Vector3<S>* fcl::detail::ShapeMeshDistanceTraversalNode< Shape, BV, NarrowPhaseSolver >::vertices |
Definition at line 67 of file shape_mesh_distance_traversal_node.h.