38 #ifndef FCL_TRAVERSAL_SHAPEMESHCONSERVATIVEADVANCEMENTTRAVERSALNODE_H 39 #define FCL_TRAVERSAL_SHAPEMESHCONSERVATIVEADVANCEMENTTRAVERSALNODE_H 51 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
57 using S =
typename BV::S;
62 S BVTesting(
int b1,
int b2)
const;
65 void leafTesting(
int b1,
int b2)
const;
68 bool canStop(
S c)
const;
90 mutable std::vector<ConservativeAdvancementStackData<S>>
stack;
93 template <
typename Shape,
typename BV,
typename NarrowPhaseSolver>
100 const NarrowPhaseSolver* nsolver,
101 typename BV::S w = 1,
102 bool use_refit =
false,
103 bool refit_bottomup =
false);
105 template <
typename Shape,
typename NarrowPhaseSolver>
108 Shape, RSS<typename Shape::S>, NarrowPhaseSolver>
111 using S =
typename Shape::S;
115 S BVTesting(
int b1,
int b2)
const;
117 void leafTesting(
int b1,
int b2)
const;
119 bool canStop(
S c)
const;
122 template <
typename Shape,
typename NarrowPhaseSolver>
129 const NarrowPhaseSolver* nsolver,
130 typename Shape::S w = 1);
132 template <
typename Shape,
typename NarrowPhaseSolver>
135 Shape, OBBRSS<typename Shape::S>, NarrowPhaseSolver>
138 using S =
typename Shape::S;
142 S BVTesting(
int b1,
int b2)
const;
144 void leafTesting(
int b1,
int b2)
const;
146 bool canStop(
S c)
const;
149 template <
typename Shape,
typename NarrowPhaseSolver>
156 const NarrowPhaseSolver* nsolver,
157 typename Shape::S w = 1);
const MotionBase< S > * motion1
Motions for the two objects in query.
S toc
The time from beginning point.
Traversal node for distance between shape and mesh.
std::vector< ConservativeAdvancementStackData< S > > stack
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
typename OBBRSS< Shape::S > ::S S
Eigen::Matrix< S, 3, 1 > Vector3
const MotionBase< S > * motion2
S delta_t
The delta_t each step.
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)
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
S w
CA controlling variable: early stop for the early iterations of CA.