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