#include <hpp/fcl/ccd/motion.h>
Public Member Functions | |
SplineMotion (const Vec3f &Td0, const Vec3f &Td1, const Vec3f &Td2, const Vec3f &Td3, const Vec3f &Rd0, const Vec3f &Rd1, const Vec3f &Rd2, const Vec3f &Rd3) | |
Construct motion from 4 deBoor points. More... | |
SplineMotion (const Matrix3f &R1, const Vec3f &T1, const Matrix3f &R2, const Vec3f &T2) | |
SplineMotion (const Transform3f &tf1, const Transform3f &tf2) | |
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. More... | |
FCL_REAL | computeMotionBound (const BVMotionBoundVisitor &mb_visitor) const |
Compute the motion bound for a bounding volume along a given direction n, which is defined in the visitor. More... | |
FCL_REAL | computeMotionBound (const TriangleMotionBoundVisitor &mb_visitor) const |
Compute the motion bound for a triangle along a given direction n, which is defined in the visitor. More... | |
void | getCurrentTransform (Transform3f &tf_) const |
Get the rotation and translation in current step. More... | |
void | getTaylorModel (TMatrix3 &tm, TVector3 &tv) const |
FCL_REAL | computeTBound (const Vec3f &n) const |
FCL_REAL | computeDWMax () const |
FCL_REAL | getCurrentTime () 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 |
Protected Member Functions | |
void | computeSplineParameter () |
FCL_REAL | getWeight0 (FCL_REAL t) const |
FCL_REAL | getWeight1 (FCL_REAL t) const |
FCL_REAL | getWeight2 (FCL_REAL t) const |
FCL_REAL | getWeight3 (FCL_REAL t) const |
Protected Attributes | |
Vec3f | Td [4] |
Vec3f | Rd [4] |
Vec3f | TA |
Vec3f | TB |
Vec3f | TC |
Vec3f | RA |
Vec3f | RB |
Vec3f | RC |
FCL_REAL | Rd0Rd0 |
FCL_REAL | Rd0Rd1 |
FCL_REAL | Rd0Rd2 |
FCL_REAL | Rd0Rd3 |
FCL_REAL | Rd1Rd1 |
FCL_REAL | Rd1Rd2 |
FCL_REAL | Rd1Rd3 |
FCL_REAL | Rd2Rd2 |
FCL_REAL | Rd2Rd3 |
FCL_REAL | Rd3Rd3 |
Transform3f | tf |
FCL_REAL | tf_t |
The time related with tf. More... | |
![]() | |
boost::shared_ptr< TimeInterval > | time_interval_ |
fcl::SplineMotion::SplineMotion | ( | const Vec3f & | Td0, |
const Vec3f & | Td1, | ||
const Vec3f & | Td2, | ||
const Vec3f & | Td3, | ||
const Vec3f & | Rd0, | ||
const Vec3f & | Rd1, | ||
const Vec3f & | Rd2, | ||
const Vec3f & | Rd3 | ||
) |
Construct motion from 4 deBoor points.
|
inline |
|
inline |
FCL_REAL fcl::SplineMotion::computeDWMax | ( | ) | const |
|
inlinevirtual |
Compute the motion bound for a bounding volume along a given direction n, which is defined in the visitor.
Implements fcl::MotionBase.
References fcl::BVMotionBoundVisitor::visit().
|
inlinevirtual |
Compute the motion bound for a triangle along a given direction n, which is defined in the visitor.
Implements fcl::MotionBase.
References fcl::TriangleMotionBoundVisitor::visit().
|
inlineprotected |
|
inlinevirtual |
3.1. compute M''(1/2)
not correct, should fix
Implements fcl::MotionBase.
References fcl::Vec3fX< T >::dot(), fcl::MotionBase::getTimeInterval(), fcl::hat(), fcl::Vec3fX< T >::length(), Rd, fcl::TVector3::setTimeInterval(), fcl::TMatrix3::setTimeInterval(), and Td.
|
virtual |
Integrate the motion from 0 to dt We compute the current transformation from zero point instead of from last integrate time, for precision.
Implements fcl::MotionBase.
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by getTaylorModel().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by getTaylorModel().
|
mutableprotected |
Referenced by getCurrentTransform().
|
mutableprotected |
The time related with tf.
Referenced by getCurrentTime().