Traversal node for collision between shape and BVH. More...
#include <shape_bvh_collision_traversal_node.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
bool | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. More... | |
bool | firstOverSecond (int, int) const |
Alway extend the second model, which is a BVH model. 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... | |
ShapeBVHCollisionTraversalNode () | |
Public Member Functions inherited from fcl::detail::CollisionTraversalNodeBase< BV::S > | |
virtual bool | canStop () const |
Check whether the traversal can stop. More... | |
CollisionTraversalNodeBase () | |
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 | ~CollisionTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< BV::S > | |
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::CollisionTraversalNodeBase< BV::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
CollisionRequest< BV::S > | request |
request setting for collision More... | |
CollisionResult< BV::S > * | result |
collision 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 collision between shape and BVH.
Definition at line 52 of file shape_bvh_collision_traversal_node.h.
using fcl::detail::ShapeBVHCollisionTraversalNode< Shape, BV >::S = typename BV::S |
Definition at line 57 of file shape_bvh_collision_traversal_node.h.
fcl::detail::ShapeBVHCollisionTraversalNode< Shape, BV >::ShapeBVHCollisionTraversalNode |
Definition at line 53 of file shape_bvh_collision_traversal_node-inl.h.
|
virtual |
BV culling test in one BVTT node.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< BV::S >.
Definition at line 94 of file shape_bvh_collision_traversal_node-inl.h.
|
virtual |
Alway extend the second model, which is a BVH model.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 66 of file shape_bvh_collision_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 80 of file shape_bvh_collision_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 87 of file shape_bvh_collision_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 73 of file shape_bvh_collision_traversal_node-inl.h.
const Shape* fcl::detail::ShapeBVHCollisionTraversalNode< Shape, BV >::model1 |
Definition at line 76 of file shape_bvh_collision_traversal_node.h.
BV fcl::detail::ShapeBVHCollisionTraversalNode< Shape, BV >::model1_bv |
Definition at line 78 of file shape_bvh_collision_traversal_node.h.
const BVHModel<BV>* fcl::detail::ShapeBVHCollisionTraversalNode< Shape, BV >::model2 |
Definition at line 77 of file shape_bvh_collision_traversal_node.h.
|
mutable |
Definition at line 80 of file shape_bvh_collision_traversal_node.h.
|
mutable |
Definition at line 81 of file shape_bvh_collision_traversal_node.h.
|
mutable |
Definition at line 82 of file shape_bvh_collision_traversal_node.h.