38 #ifndef FCL_TRAVERSAL_OCTREE_OCTREESHAPECOLLISIONTRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_OCTREE_OCTREESHAPECOLLISIONTRAVERSALNODE_INL_H 50 template <
typename Shape,
typename NarrowPhaseSolver>
61 template <
typename Shape,
typename NarrowPhaseSolver>
69 template <
typename Shape,
typename NarrowPhaseSolver>
73 otsolver->OcTreeShapeIntersect(
74 model1, *model2, tf1, tf2, this->request, *this->result);
78 template <
typename Shape,
typename NarrowPhaseSolver>
81 const OcTree<typename Shape::S>& model1,
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
void leafTesting(int, int) const
Leaf test between node b1 and b2, if they are both leafs.
const OcTreeSolver< NarrowPhaseSolver > * otsolver
CollisionRequest< Shape::S > request
request setting for collision
bool BVTesting(int, int) const
BV test between b1 and b2.
Parameters for performing collision request.
Algorithms for collision related with octree.
template bool initialize(MeshCollisionTraversalNodeOBB< double > &node, const BVHModel< OBB< double >> &model1, const Transform3< double > &tf1, const BVHModel< OBB< double >> &model2, const Transform3< double > &tf2, const CollisionRequest< double > &request, CollisionResult< double > &result)
const OcTree< S > * model1
Traversal node for octree-shape collision.
OcTreeShapeCollisionTraversalNode()
CollisionResult< Shape::S > * result
collision result kept during the traversal iteration