38 #ifndef FCL_TRAVERSAL_SHAPEMESHDISTANCETRAVERSALNODE_H 39 #define FCL_TRAVERSAL_SHAPEMESHDISTANCETRAVERSALNODE_H 51 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
57 using S =
typename BV::S;
62 void leafTesting(
int b1,
int b2)
const;
65 bool canStop(
S c)
const;
78 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
85 const NarrowPhaseSolver* nsolver,
88 bool use_refit =
false,
89 bool refit_bottomup =
false);
91 template <
typename Shape,
typename NarrowPhaseSolver>
94 Shape, RSS<typename Shape::S>, NarrowPhaseSolver>
98 using S =
typename Shape::S;
106 S BVTesting(
int b1,
int b2)
const;
108 void leafTesting(
int b1,
int b2)
const;
114 template <
typename Shape,
typename NarrowPhaseSolver>
121 const NarrowPhaseSolver* nsolver,
125 template <
typename Shape,
typename NarrowPhaseSolver>
128 Shape, kIOS<typename Shape::S>, NarrowPhaseSolver>
132 using S =
typename Shape::S;
140 S BVTesting(
int b1,
int b2)
const;
142 void leafTesting(
int b1,
int b2)
const;
148 template <
typename Shape,
typename NarrowPhaseSolver>
155 const NarrowPhaseSolver* nsolver,
159 template <
typename Shape,
typename NarrowPhaseSolver>
162 Shape, OBBRSS<typename Shape::S>, NarrowPhaseSolver>
166 using S =
typename Shape::S;
174 S BVTesting(
int b1,
int b2)
const;
176 void leafTesting(
int b1,
int b2)
const;
182 template <
typename Shape,
typename NarrowPhaseSolver>
189 const NarrowPhaseSolver* nsolver,
Traversal node for distance between shape and mesh.
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
typename kIOS< Shape::S > ::S S
Eigen::Matrix< S, 3, 1 > Vector3
Traversal node for distance computation between shape and BVH.
Triangle with 3 indices for points.
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 NarrowPhaseSolver * nsolver
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
request to the distance computation
A class describing the kIOS collision structure, which is a set of spheres.