|
| ScrewMotion () |
| Default transformations are all identities.
|
|
| ScrewMotion (const Matrix3< S > &R1, const Vector3< S > &T1, const Matrix3< S > &R2, const Vector3< S > &T2) |
| Construct motion from the initial rotation/translation and goal rotation/translation.
|
|
| ScrewMotion (const Transform3< S > &tf1_, const Transform3< S > &tf2_) |
| Construct motion from the initial transform and goal transform.
|
|
bool | integrate (double dt) const |
| Integrate the motion from 0 to dt We compute the current transformation from zero point instead of from last integrate time, for precision.
|
|
S | computeMotionBound (const BVMotionBoundVisitor< S > &mb_visitor) const |
| Compute the motion bound for a bounding volume along a given direction n, which is defined in the visitor.
|
|
S | computeMotionBound (const TriangleMotionBoundVisitor< S > &mb_visitor) const |
| Compute the motion bound for a triangle along a given direction n, which is defined in the visitor.
|
|
void | getCurrentTransform (Transform3< S > &tf_) const |
| Get the rotation and translation in current step.
|
|
void | getTaylorModel (TMatrix3< S > &tm, TVector3< S > &tv) const |
|
S | getLinearVelocity () const |
|
S | getAngularVelocity () const |
|
const Vector3< S > & | getAxis () const |
|
const Vector3< S > & | getAxisOrigin () const |
|
virtual bool | integrate (S dt) const =0 |
| Integrate the motion from 0 to dt.
|
|
void | getCurrentTransform (Matrix3< S > &R, Vector3< S > &T) const |
| Get the rotation and translation in current step.
|
|
void | getCurrentTransform (Quaternion< S > &Q, Vector3< S > &T) const |
|
void | getCurrentRotation (Matrix3< S > &R) const |
|
void | getCurrentRotation (Quaternion< S > &Q) const |
|
void | getCurrentTranslation (Vector3< S > &T) const |
|
const std::shared_ptr< TimeInterval< S > > & | getTimeInterval () const |
|