#include <hpp/fcl/ccd/motion.h>
Public Member Functions | |
TranslationMotion (const Transform3f &tf1, const Transform3f &tf2) | |
Construct motion from intial and goal transform. More... | |
TranslationMotion (const Matrix3f &R, const Vec3f &T1, const Vec3f &T2) | |
bool | integrate (FCL_REAL dt) const |
Integrate the motion from 0 to dt. More... | |
FCL_REAL | computeMotionBound (const BVMotionBoundVisitor &mb_visitor) const |
Compute the motion bound for a bounding volume, given the closest direction n between two query objects. More... | |
FCL_REAL | computeMotionBound (const TriangleMotionBoundVisitor &mb_visitor) const |
Compute the motion bound for a triangle, given the closest direction n between two query objects. More... | |
void | getCurrentTransform (Transform3f &tf_) const |
void | getTaylorModel (TMatrix3 &tm, TVector3 &tv) const |
Vec3f | getVelocity () const |
![]() | |
MotionBase () | |
virtual | ~MotionBase () |
void | getCurrentTransform (Matrix3f &R, Vec3f &T) const |
Get the rotation and translation in current step. More... | |
void | getCurrentTransform (Quaternion3f &Q, Vec3f &T) const |
void | getCurrentRotation (Matrix3f &R) const |
void | getCurrentRotation (Quaternion3f &Q) const |
void | getCurrentTranslation (Vec3f &T) const |
const boost::shared_ptr < TimeInterval > & | getTimeInterval () const |
Additional Inherited Members | |
![]() | |
boost::shared_ptr< TimeInterval > | time_interval_ |
|
inline |
Construct motion from intial and goal transform.
|
inline |
References fcl::Quaternion3f::fromRotation().
|
inlinevirtual |
Compute the motion bound for a bounding volume, given the closest direction n between two query objects.
Implements fcl::MotionBase.
References fcl::BVMotionBoundVisitor::visit().
|
inlinevirtual |
Compute the motion bound for a triangle, given the closest direction n between two query objects.
Implements fcl::MotionBase.
References fcl::TriangleMotionBoundVisitor::visit().
|
inlinevirtual |
Implements fcl::MotionBase.
Implements fcl::MotionBase.
|
inline |
|
inlinevirtual |
Integrate the motion from 0 to dt.
Implements fcl::MotionBase.