Traversal node for collision between BVH and shape. More...
#include <bvh_shape_collision_traversal_node.h>
Public Types | |
using | S = typename BV::S |
Public Member Functions | |
BVHShapeCollisionTraversalNode () | |
bool | BVTesting (int b1, int b2) const |
BV culling test in one BVTT node. 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... | |
bool | isFirstNodeLeaf (int b) const |
Whether the BV node in the first BVH tree is leaf. More... | |
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 bool | firstOverSecond (int b1, int b2) const |
Traverse the subtree of the node in the first tree first. More... | |
virtual int | getSecondLeftChild (int b) const |
Get the left child of the node b in the second tree. More... | |
virtual int | getSecondRightChild (int b) const |
Get the right child of the node b in the second tree. More... | |
virtual bool | isSecondNodeLeaf (int b) const |
Whether b is a leaf node in the second BVH tree. More... | |
virtual void | postprocess () |
virtual void | preprocess () |
virtual | ~TraversalNodeBase () |
Public Attributes | |
const BVHModel< BV > * | model1 |
const Shape * | model2 |
BV | model2_bv |
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 BVH and shape.
Definition at line 52 of file bvh_shape_collision_traversal_node.h.
using fcl::detail::BVHShapeCollisionTraversalNode< BV, Shape >::S = typename BV::S |
Definition at line 57 of file bvh_shape_collision_traversal_node.h.
fcl::detail::BVHShapeCollisionTraversalNode< Shape, BV >::BVHShapeCollisionTraversalNode |
Definition at line 53 of file bvh_shape_collision_traversal_node-inl.h.
|
virtual |
BV culling test in one BVTT node.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< BV::S >.
Definition at line 87 of file bvh_shape_collision_traversal_node-inl.h.
|
virtual |
Obtain the left child of BV node in the first BVH.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 73 of file bvh_shape_collision_traversal_node-inl.h.
|
virtual |
Obtain the right child of BV node in the first BVH.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 80 of file bvh_shape_collision_traversal_node-inl.h.
|
virtual |
Whether the BV node in the first BVH tree is leaf.
Reimplemented from fcl::detail::TraversalNodeBase< BV::S >.
Definition at line 66 of file bvh_shape_collision_traversal_node-inl.h.
const BVHModel<BV>* fcl::detail::BVHShapeCollisionTraversalNode< BV, Shape >::model1 |
Definition at line 73 of file bvh_shape_collision_traversal_node.h.
const Shape* fcl::detail::BVHShapeCollisionTraversalNode< BV, Shape >::model2 |
Definition at line 74 of file bvh_shape_collision_traversal_node.h.
BV fcl::detail::BVHShapeCollisionTraversalNode< BV, Shape >::model2_bv |
Definition at line 75 of file bvh_shape_collision_traversal_node.h.
|
mutable |
Definition at line 77 of file bvh_shape_collision_traversal_node.h.
|
mutable |
Definition at line 78 of file bvh_shape_collision_traversal_node.h.
|
mutable |
Definition at line 79 of file bvh_shape_collision_traversal_node.h.