Traversal node for collision between two shapes. More...
#include <shape_collision_traversal_node.h>
Public Types | |
using | S = typename Shape1::S |
Public Member Functions | |
bool | BVTesting (int, int) const |
BV culling test in one BVTT node. More... | |
void | leafTesting (int, int) const |
Intersection testing between leaves (two shapes) More... | |
ShapeCollisionTraversalNode () | |
Public Member Functions inherited from fcl::detail::CollisionTraversalNodeBase< Shape1::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 | ~CollisionTraversalNodeBase () |
Public Member Functions inherited from fcl::detail::TraversalNodeBase< Shape1::S > | |
virtual bool | firstOverSecond (int b1, int b2) const |
Traverse the subtree of the node in the first tree first. More... | |
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 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 | isFirstNodeLeaf (int b) const |
Whether b is a leaf node in the first BVH 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 | |
S | cost_density |
const Shape1 * | model1 |
const Shape2 * | model2 |
const NarrowPhaseSolver * | nsolver |
Public Attributes inherited from fcl::detail::CollisionTraversalNodeBase< Shape1::S > | |
bool | enable_statistics |
Whether stores statistics. More... | |
CollisionRequest< Shape1::S > | request |
request setting for collision More... | |
CollisionResult< Shape1::S > * | result |
collision result kept during the traversal iteration More... | |
Public Attributes inherited from fcl::detail::TraversalNodeBase< Shape1::S > | |
Transform3< Shape1::S > | tf1 |
configuation of first object More... | |
Transform3< Shape1::S > | tf2 |
configuration of second object More... | |
Traversal node for collision between two shapes.
Definition at line 53 of file shape_collision_traversal_node.h.
using fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::S = typename Shape1::S |
Definition at line 58 of file shape_collision_traversal_node.h.
fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::ShapeCollisionTraversalNode |
Definition at line 52 of file shape_collision_traversal_node-inl.h.
|
virtual |
BV culling test in one BVTT node.
Reimplemented from fcl::detail::CollisionTraversalNodeBase< Shape1::S >.
Definition at line 64 of file shape_collision_traversal_node-inl.h.
|
virtual |
Intersection testing between leaves (two shapes)
Reimplemented from fcl::detail::CollisionTraversalNodeBase< Shape1::S >.
Definition at line 72 of file shape_collision_traversal_node-inl.h.
S fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::cost_density |
Definition at line 71 of file shape_collision_traversal_node.h.
const Shape1* fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model1 |
Definition at line 68 of file shape_collision_traversal_node.h.
const Shape2* fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::model2 |
Definition at line 69 of file shape_collision_traversal_node.h.
const NarrowPhaseSolver* fcl::detail::ShapeCollisionTraversalNode< Shape1, Shape2, NarrowPhaseSolver >::nsolver |
Definition at line 73 of file shape_collision_traversal_node.h.