#include <hpp/fcl/traversal/traversal_node_bvhs.h>
Public Member Functions | |
MeshDistanceTraversalNodeOBBRSS () | |
void | preprocess () |
void | postprocess () |
FCL_REAL | BVTesting (int b1, int b2) const |
BV test between b1 and b2. More... | |
FCL_REAL | BVTesting (int b1, int b2, FCL_REAL &sqrDistLowerBound) const |
void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
![]() | |
MeshDistanceTraversalNode () | |
void | leafTesting (int b1, int b2) const |
Distance testing between leaves (two triangles) More... | |
bool | canStop (FCL_REAL c) const |
Whether the traversal process can stop early. More... | |
![]() | |
BVHDistanceTraversalNode () | |
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... | |
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... | |
FCL_REAL | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. More... | |
![]() | |
DistanceTraversalNodeBase () | |
virtual | ~DistanceTraversalNodeBase () |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
![]() | |
virtual | ~TraversalNodeBase () |
Public Attributes | |
Matrix3f | R |
Vec3f | T |
![]() | |
Vec3f * | vertices1 |
Vec3f * | vertices2 |
Triangle * | tri_indices1 |
Triangle * | tri_indices2 |
FCL_REAL | rel_err |
relative and absolute error, default value is 0.01 for both terms More... | |
FCL_REAL | abs_err |
![]() | |
const BVHModel< OBBRSS > * | model1 |
The first BVH model. More... | |
const BVHModel< OBBRSS > * | model2 |
The second BVH model. More... | |
int | num_bv_tests |
statistical information More... | |
int | num_leaf_tests |
FCL_REAL | query_time_seconds |
![]() | |
DistanceRequest | request |
request setting for distance More... | |
DistanceResult * | result |
distance result kept during the traversal iteration More... | |
bool | enable_statistics |
Whether stores statistics. More... | |
![]() | |
Transform3f | tf1 |
configuation of first object More... | |
Transform3f | tf2 |
configuration of second object More... | |
hpp::fcl::MeshDistanceTraversalNodeOBBRSS::MeshDistanceTraversalNodeOBBRSS | ( | ) |
|
virtual |
BV test between b1 and b2.
Reimplemented from hpp::fcl::DistanceTraversalNodeBase.
FCL_REAL hpp::fcl::MeshDistanceTraversalNodeOBBRSS::BVTesting | ( | int | b1, |
int | b2, | ||
FCL_REAL & | sqrDistLowerBound | ||
) | const |
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Implements hpp::fcl::DistanceTraversalNodeBase.
|
virtual |
Reimplemented from hpp::fcl::TraversalNodeBase.
|
virtual |
Reimplemented from hpp::fcl::TraversalNodeBase.
Matrix3f hpp::fcl::MeshDistanceTraversalNodeOBBRSS::R |
Vec3f hpp::fcl::MeshDistanceTraversalNodeOBBRSS::T |