38 #ifndef FCL_TRAVERSAL_SHAPEMESHCOLLISIONTRAVERSALNODE_H 39 #define FCL_TRAVERSAL_SHAPEMESHCOLLISIONTRAVERSALNODE_H 51 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
56 using S =
typename BV::S;
61 void leafTesting(
int b1,
int b2)
const;
76 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
84 const NarrowPhaseSolver* nsolver,
87 bool use_refit =
false,
bool refit_bottomup =
false);
90 template <
typename Shape,
typename NarrowPhaseSolver>
93 Shape, OBB<typename Shape::S>, NarrowPhaseSolver>
98 bool BVTesting(
int b1,
int b2)
const;
100 void leafTesting(
int b1,
int b2)
const;
105 template <
typename Shape,
typename NarrowPhaseSolver>
113 const NarrowPhaseSolver* nsolver,
117 template <
typename Shape,
typename NarrowPhaseSolver>
124 bool BVTesting(
int b1,
int b2)
const;
126 void leafTesting(
int b1,
int b2)
const;
132 template <
typename Shape,
typename NarrowPhaseSolver>
140 const NarrowPhaseSolver* nsolver,
144 template <
typename Shape,
typename NarrowPhaseSolver>
151 bool BVTesting(
int b1,
int b2)
const;
153 void leafTesting(
int b1,
int b2)
const;
159 template <
typename Shape,
typename NarrowPhaseSolver>
167 const NarrowPhaseSolver* nsolver,
171 template <
typename Shape,
typename NarrowPhaseSolver>
178 bool BVTesting(
int b1,
int b2)
const;
180 void leafTesting(
int b1,
int b2)
const;
186 template <
typename Shape,
typename NarrowPhaseSolver>
194 const NarrowPhaseSolver* nsolver,
Traversal node for collision between shape and BVH.
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
const NarrowPhaseSolver * nsolver
Eigen::Matrix< S, 3, 1 > Vector3
Triangle with 3 indices for points.
Traversal node for collision between shape and mesh.
Parameters for performing collision request.
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)
typename kIOS< Shape::S > ::S S
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
A class describing the kIOS collision structure, which is a set of spheres.
Oriented bounding box class.
Traversal node for shape and mesh, when mesh BVH is one of the oriented node (OBB, RSS, OBBRSS, kIOS)