38 #ifndef FCL_TRAVERSAL_OCTREE_SHAPEOCTREEDISTANCETRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_OCTREE_SHAPEOCTREEDISTANCETRAVERSALNODE_INL_H 50 template <
typename Shape,
typename NarrowPhaseSolver>
61 template <
typename Shape,
typename NarrowPhaseSolver>
70 template <
typename Shape,
typename NarrowPhaseSolver>
74 otsolver->OcTreeShapeDistance(
75 model2, *model1, this->tf2, this->tf1, this->request, *this->result);
79 template <
typename Shape,
typename NarrowPhaseSolver>
84 const OcTree<typename Shape::S>& model2,
Traversal node for shape-octree distance.
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
Transform3< Shape::S > tf2
configuration of second object
S BVTesting(int, int) const
BV test between b1 and b2.
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)
DistanceRequest< Shape::S > request
request setting for distance
DistanceResult< Shape::S > * result
distance result kept during the traversal iteration
Transform3< Shape::S > tf1
configuation of first object
void leafTesting(int, int) const
Leaf test between node b1 and b2, if they are both leafs.
request to the distance computation
ShapeOcTreeDistanceTraversalNode()
const OcTreeSolver< NarrowPhaseSolver > * otsolver
const OcTree< S > * model2