38 #ifndef FCL_TRAVERSAL_OCTREE_MESHOCTREEDISTANCETRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_OCTREE_MESHOCTREEDISTANCETRAVERSALNODE_INL_H 50 template <
typename BV,
typename NarrowPhaseSolver>
61 template <
typename BV,
typename NarrowPhaseSolver>
69 template <
typename BV,
typename NarrowPhaseSolver>
73 otsolver->OcTreeMeshDistance(
74 model2, model1, this->tf2, this->tf1, this->request, *this->result);
78 template <
typename BV,
typename NarrowPhaseSolver>
83 const OcTree<typename BV::S>& model2,
MeshOcTreeDistanceTraversalNode()
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
Transform3< BV::S > tf2
configuration of second object
S BVTesting(int, int) const
BV test between b1 and b2.
void leafTesting(int, int) const
Leaf test between node b1 and b2, if they are both leafs.
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< BV::S > request
request setting for distance
const OcTree< S > * model2
Traversal node for mesh-octree distance.
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
DistanceResult< BV::S > * result
distance result kept during the traversal iteration
const OcTreeSolver< NarrowPhaseSolver > * otsolver
Transform3< BV::S > tf1
configuation of first object
request to the distance computation
const BVHModel< BV > * model1