38 #ifndef FCL_CCD_TRANSLATIONMOTION_H 39 #define FCL_CCD_TRANSLATIONMOTION_H 49 class FCL_EXPORT TranslationMotion :
public MotionBase<S>
53 TranslationMotion(
const Transform3<S>& tf1,
const Transform3<S>& tf2);
56 const Matrix3<S>& R,
const Vector3<S>& T1,
const Vector3<S>& T2);
58 bool integrate(S dt)
const override;
61 const BVMotionBoundVisitor<S>& mb_visitor)
const override;
64 const TriangleMotionBoundVisitor<S>& mb_visitor)
const override;
66 void getCurrentTransform(Transform3<S>& tf_)
const override;
68 void getTaylorModel(TMatrix3<S>& tm, TVector3<S>& tv)
const override;
70 Vector3<S> getVelocity()
const;
80 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Eigen::Quaternion< S > Quaternion
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
Eigen::Matrix< S, 3, 1 > Vector3
Quaternion< S > rot
initial and goal transforms