38 #ifndef FCL_CCD_TRANSLATIONMOTION_INL_H 39 #define FCL_CCD_TRANSLATIONMOTION_INL_H 58 trans_start(tf1.translation()),
59 trans_range(tf2.translation() - tf1.translation()),
85 tf.linear() =
rot.toRotationMatrix();
96 return mb_visitor.
visit(*
this);
100 template <
typename S>
104 return mb_visitor.
visit(*
this);
108 template <
typename S>
115 template <
typename S>
126 template <
typename S>
template class FCL_EXPORT TranslationMotion< double >
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
void getTaylorModel(TMatrix3< S > &tm, TVector3< S > &tv) const override
Eigen::Matrix< S, 3, 3 > Matrix3
Eigen::Matrix< S, 3, 1 > Vector3
void getCurrentTransform(Transform3< S > &tf_) const override
TranslationMotion(const Transform3< S > &tf1, const Transform3< S > &tf2)
Construct motion from intial and goal transform.
Quaternion< S > rot
initial and goal transforms
bool integrate(S dt) const override
Integrate the motion from 0 to dt.
S computeMotionBound(const BVMotionBoundVisitor< S > &mb_visitor) const override
Compute the motion bound for a bounding volume, given the closest direction n between two query objec...
Compute the motion bound for a bounding volume, given the closest direction n between two query objec...
virtual S visit(const MotionBase< S > &motion) const
Vector3< S > getVelocity() const
virtual S visit(const MotionBase< S > &motion) const =0