#include <mesh_conservative_advancement_traversal_node.h>
Public Member Functions | |
S | BVTesting (int b1, int b2) const |
BV test between b1 and b2. More... | |
bool | canStop (S c) const |
void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
MeshConservativeAdvancementTraversalNodeOBBRSS (S w_=1) | |
Public Member Functions inherited from fcl::detail::MeshConservativeAdvancementTraversalNode< OBBRSS< S > > | |
S | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. More... | |
bool | canStop (S c) const |
Whether the traversal process can stop early. More... | |
void | leafTesting (int b1, int b2) const |
Conservative advancement testing between leaves (two triangles) More... | |
MeshConservativeAdvancementTraversalNode (S w_=1) | |
Public Member Functions inherited from fcl::detail::MeshDistanceTraversalNode< OBBRSS< S > > | |
bool | canStop (S c) const |
Whether the traversal process can stop early. More... | |
void | leafTesting (int b1, int b2) const |
Distance testing between leaves (two triangles) More... | |
MeshDistanceTraversalNode () | |
Public Member Functions inherited from fcl::detail::BVHDistanceTraversalNode< OBBRSS< S > > | |
BVHDistanceTraversalNode () | |
bool | firstOverSecond (int b1, int b2) const |
Determine the traversal order, is the first BVTT subtree better. More... | |
int | getFirstLeftChild (int b) const |
Obtain the left child of BV node in the first BVH. More... | |
int | getFirstRightChild (int b) const |
Obtain the right child of BV node in the first BVH. 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 | isFirstNodeLeaf (int b) const |
Whether the BV node in the first BVH tree is leaf. More... | |
bool | isSecondNodeLeaf (int b) const |
Whether the BV node in the second BVH tree is leaf. More... | |
Public Member Functions inherited from fcl::detail::DistanceTraversalNodeBase< OBBRSS< S > ::S > | |
virtual bool | canStop (OBBRSS< S > ::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< OBBRSS< S > ::S > | |
virtual void | postprocess () |
virtual void | preprocess () |
virtual | ~TraversalNodeBase () |
Public Attributes | |
Matrix3< S > | R |
Vector3< S > | T |
Public Attributes inherited from fcl::detail::MeshConservativeAdvancementTraversalNode< OBBRSS< S > > | |
Vector3< S > | closest_p1 |
Vector3< S > | closest_p2 |
S | delta_t |
The delta_t each step. More... | |
int | last_tri_id1 |
int | last_tri_id2 |
S | min_distance |
const MotionBase< S > * | motion1 |
Motions for the two objects in query. More... | |
const MotionBase< S > * | motion2 |
std::vector< ConservativeAdvancementStackData< S > > | stack |
S | t_err |
S | toc |
The time from beginning point. More... | |
S | w |
CA controlling variable: early stop for the early iterations of CA. More... | |
Public Attributes inherited from fcl::detail::MeshDistanceTraversalNode< OBBRSS< S > > | |
S | abs_err |
S | rel_err |
relative and absolute error, default value is 0.01 for both terms More... | |
Triangle * | tri_indices1 |
Triangle * | tri_indices2 |
Vector3< S > * | vertices1 |
Vector3< S > * | vertices2 |
Public Attributes inherited from fcl::detail::BVHDistanceTraversalNode< OBBRSS< S > > | |
const BVHModel< OBBRSS< S > > * | model1 |
The first BVH model. More... | |
const BVHModel< OBBRSS< S > > * | model2 |
The second BVH model. More... | |
int | num_bv_tests |
statistical information More... | |
int | num_leaf_tests |
S | query_time_seconds |
Public Attributes inherited from fcl::detail::DistanceTraversalNodeBase< OBBRSS< S > ::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
DistanceRequest< OBBRSS< S > ::S > | request |
request setting for distance More... | |
DistanceResult< OBBRSS< S > ::S > * | result |
distance result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< OBBRSS< S > ::S > | |
Transform3< OBBRSS< S > ::S > | tf1 |
configuation of first object More... | |
Transform3< OBBRSS< S > ::S > | tf2 |
configuration of second object More... | |
Additional Inherited Members | |
Public Types inherited from fcl::detail::MeshConservativeAdvancementTraversalNode< OBBRSS< S > > | |
using | S = typename OBBRSS< S > ::S |
Public Types inherited from fcl::detail::MeshDistanceTraversalNode< OBBRSS< S > > | |
using | S = typename OBBRSS< S > ::S |
Public Types inherited from fcl::detail::BVHDistanceTraversalNode< OBBRSS< S > > | |
using | S = typename OBBRSS< S > ::S |
Definition at line 163 of file mesh_conservative_advancement_traversal_node.h.
fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >::MeshConservativeAdvancementTraversalNodeOBBRSS | ( | S | w_ = 1 | ) |
Definition at line 419 of file mesh_conservative_advancement_traversal_node-inl.h.
|
inlinevirtual |
BV test between b1 and b2.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< OBBRSS< S > ::S >.
Definition at line 169 of file mesh_conservative_advancement_traversal_node.h.
bool fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >::canStop | ( | S | c | ) | const |
Definition at line 455 of file mesh_conservative_advancement_traversal_node-inl.h.
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from fcl::detail::DistanceTraversalNodeBase< OBBRSS< S > ::S >.
Definition at line 428 of file mesh_conservative_advancement_traversal_node-inl.h.
Matrix3<S> fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >::R |
Definition at line 192 of file mesh_conservative_advancement_traversal_node.h.
Vector3<S> fcl::detail::MeshConservativeAdvancementTraversalNodeOBBRSS< S >::T |
Definition at line 193 of file mesh_conservative_advancement_traversal_node.h.