Traversal node for shape and mesh, when mesh BVH is one of the oriented node (OBB, RSS, OBBRSS, kIOS) More...
#include <shape_mesh_collision_traversal_node.h>
Public Member Functions | |
bool | BVTesting (int b1, int b2) const |
BV test between b1 and b2. More... | |
void | leafTesting (int b1, int b2) const |
Leaf test between node b1 and b2, if they are both leafs. More... | |
ShapeMeshCollisionTraversalNodeOBB () | |
Public Member Functions inherited from fcl::detail::ShapeMeshCollisionTraversalNode< Shape, OBB< Shape::S >, NarrowPhaseSolver > | |
bool | canStop () const |
Whether the traversal process can stop early. More... | |
void | leafTesting (int b1, int b2) const |
Intersection testing between leaves (one shape and one triangle) More... | |
ShapeMeshCollisionTraversalNode () | |
Public Member Functions inherited from fcl::detail::ShapeBVHCollisionTraversalNode< Shape, OBB< Shape::S > > | |
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< OBB< Shape::S > ::S > | |
CollisionTraversalNodeBase () | |
void | enableStatistics (bool enable) |
Whether store some statistics information during traversal. More... | |
virtual | ~CollisionTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< OBB< Shape::S > ::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 () |
Traversal node for shape and mesh, when mesh BVH is one of the oriented node (OBB, RSS, OBBRSS, kIOS)
Definition at line 91 of file shape_mesh_collision_traversal_node.h.
FCL_EXPORT fcl::detail::ShapeMeshCollisionTraversalNodeOBB< Shape, NarrowPhaseSolver >::ShapeMeshCollisionTraversalNodeOBB |
Definition at line 199 of file shape_mesh_collision_traversal_node-inl.h.
|
virtual |
BV test between b1 and b2.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< OBB< Shape::S > ::S >.
Definition at line 206 of file shape_mesh_collision_traversal_node-inl.h.
|
virtual |
Leaf test between node b1 and b2, if they are both leafs.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< OBB< Shape::S > ::S >.
Definition at line 217 of file shape_mesh_collision_traversal_node-inl.h.