| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
fmat::TransformT< R > Class Template ReferenceEfficient computation of affine transform operations. More...
Inheritance diagram for fmat::TransformT< R >:
![]() Detailed Descriptiontemplate<typename R = fmatReal>
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| enum | { HEIGHT = 3, H = 3, WIDTH = 4, W = 4, CAP = 12 } |
| typedef R | storage_t |
| typedef fmat_internal::unconst < R >::type | out_t |
Public Member Functions | |
| TransformT (const fmat_internal::NoInit &noinit) | |
| TransformT () | |
| TransformT (const R *x, size_t colStride=H) | |
| TransformT (const SubMatrix< H, W, R > &x) | |
| TransformT (const Matrix< H, W, R > &x) | |
| template<typename Rot , typename Pt > | |
| TransformT (const Rot &r, const Pt &p) | |
| template<size_t SH, size_t SW> | |
| TransformT (const SubMatrix< SH, SW, R > &x) | |
| template<size_t SH, size_t SW> | |
| TransformT (const SubMatrix< SH, SW, R > &x, size_t rowOff, size_t colOff) | |
| template<size_t SH, size_t SW> | |
| TransformT (const Matrix< SH, SW, R > &x) | |
| template<size_t SH, size_t SW> | |
| TransformT (const Matrix< SH, SW, R > &x, size_t rowOff, size_t colOff) | |
| SubMatrix< 3, 3, R > | rotation () |
| SubMatrix< 3, 3, const R > | rotation () const |
| SubVector< 3, R > | translation () |
| SubVector< 3, const R > | translation () const |
| TransformT | inverse () const ATTR_must_check |
| returns the inverse transform, allowing for affine transformations (however, cannot invert 0 or inf scaling!) | |
| TransformT | rigidInverse () const ATTR_must_check |
| returns the inverse transform, assuming a rigid transform (zero scale and skew) for faster computation | |
| template<typename R2 > | |
| Column< 3, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const Column< 3, R2 > &x) const |
| template<typename R2 > | |
| Column< 3, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const SubVector< 3, R2 > &x) const |
| template<size_t N, typename R2 > | |
| Matrix< 3, N, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const Matrix< 3, N, R2 > &x) const |
| template<typename R2 > | |
| Column< 4, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const Column< 4, R2 > &x) const |
| template<typename R2 > | |
| Column< 4, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const SubVector< 4, R2 > &x) const |
| template<size_t N, typename R2 > | |
| Matrix< 4, N, typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const Matrix< 4, N, R2 > &x) const |
| template<typename R2 > | |
| TransformT< typename fmat_internal::promotion_trait < R, R2 >::type > | operator* (const TransformT< R2 > &tb) const |
| template<typename R2 > | |
| TransformT & | operator*= (const TransformT< R2 > &t) |
Static Public Member Functions | |
| static TransformT< R > | aboutX (R rad) |
| generate transform representing rotation of rad radians about X axis | |
| static TransformT< R > | aboutY (R rad) |
| generate transform representing rotation of rad radians about Y axis | |
| static TransformT< R > | aboutZ (R rad) |
| generate transform representing rotation of rad radians about Z axis | |
| template<class V > | |
| static TransformT< R > | offset (const V &x) |
| generate transform representing a translation of x | |
| static const TransformT & | identity () |
Static Public Attributes | |
| static const TransformT | IDENTITY |
| identity instance | |
| typedef fmat_internal::unconst<R>::type fmat::TransformT< R >::out_t |
Reimplemented from fmat::Matrix< 3, 4, R >.
Definition at line 469 of file fmatSpatial.h.
| typedef R fmat::TransformT< R >::storage_t |
Reimplemented from fmat::Matrix< 3, 4, R >.
Definition at line 468 of file fmatSpatial.h.
| anonymous enum |
Definition at line 463 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const fmat_internal::NoInit & | noinit | ) |
Definition at line 471 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | ) |
Definition at line 473 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const R * | x, | |
| size_t | colStride = H | |||
| ) | [explicit] |
Definition at line 474 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const SubMatrix< H, W, R > & | x | ) |
Definition at line 475 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const Matrix< H, W, R > & | x | ) |
Definition at line 476 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const Rot & | r, | |
| const Pt & | p | |||
| ) |
Definition at line 477 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const SubMatrix< SH, SW, R > & | x | ) | [explicit] |
Definition at line 478 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const SubMatrix< SH, SW, R > & | x, | |
| size_t | rowOff, | |||
| size_t | colOff | |||
| ) | [explicit] |
Definition at line 479 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const Matrix< SH, SW, R > & | x | ) | [explicit] |
Definition at line 480 of file fmatSpatial.h.
| fmat::TransformT< R >::TransformT | ( | const Matrix< SH, SW, R > & | x, | |
| size_t | rowOff, | |||
| size_t | colOff | |||
| ) | [explicit] |
Definition at line 481 of file fmatSpatial.h.
| static TransformT<R> fmat::TransformT< R >::aboutX | ( | R | rad | ) | [static] |
generate transform representing rotation of rad radians about X axis
Definition at line 489 of file fmatSpatial.h.
| static TransformT<R> fmat::TransformT< R >::aboutY | ( | R | rad | ) | [static] |
generate transform representing rotation of rad radians about Y axis
Definition at line 496 of file fmatSpatial.h.
| static TransformT<R> fmat::TransformT< R >::aboutZ | ( | R | rad | ) | [static] |
generate transform representing rotation of rad radians about Z axis
Definition at line 503 of file fmatSpatial.h.
| static const TransformT& fmat::TransformT< R >::identity | ( | ) | [static] |
Reimplemented from fmat::Matrix< 3, 4, R >.
Definition at line 513 of file fmatSpatial.h.
Referenced by KinematicJoint::getJointJacobian(), KinematicJoint::getT(), DualCoding::MapBuilder::grabCameraImageAndGo(), DualCoding::MapBuilder::projectToLocal(), and DualCoding::Lookout::requestComplete().
| TransformT fmat::TransformT< R >::inverse | ( | ) | const |
returns the inverse transform, allowing for affine transformations (however, cannot invert 0 or inf scaling!)
Definition at line 517 of file fmatSpatial.h.
Referenced by Kinematics::baseToLink(), IKThreeLink::computeFirstLinkPrismatic(), IKThreeLink::computeFirstLinkRevolute(), fmat::invert(), and Kinematics::localToBase().
| static TransformT<R> fmat::TransformT< R >::offset | ( | const V & | x | ) | [static] |
generate transform representing a translation of x
Definition at line 511 of file fmatSpatial.h.
| TransformT<typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const TransformT< R2 > & | tb | ) | const |
Definition at line 587 of file fmatSpatial.h.
| Matrix<4,N,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const Matrix< 4, N, R2 > & | x | ) | const |
Definition at line 578 of file fmatSpatial.h.
| Column<4,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const SubVector< 4, R2 > & | x | ) | const |
Definition at line 572 of file fmatSpatial.h.
| Column<4,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const Column< 4, R2 > & | x | ) | const |
Definition at line 566 of file fmatSpatial.h.
| Matrix<3,N,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const Matrix< 3, N, R2 > & | x | ) | const |
Definition at line 557 of file fmatSpatial.h.
| Column<3,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const SubVector< 3, R2 > & | x | ) | const |
Definition at line 551 of file fmatSpatial.h.
| Column<3,typename fmat_internal::promotion_trait<R,R2>::type> fmat::TransformT< R >::operator* | ( | const Column< 3, R2 > & | x | ) | const |
Definition at line 545 of file fmatSpatial.h.
| TransformT& fmat::TransformT< R >::operator*= | ( | const TransformT< R2 > & | t | ) |
Definition at line 595 of file fmatSpatial.h.
| TransformT fmat::TransformT< R >::rigidInverse | ( | ) | const |
returns the inverse transform, assuming a rigid transform (zero scale and skew) for faster computation
Definition at line 525 of file fmatSpatial.h.
Referenced by ArmController::doStart(), KinematicJoint::getFullInvT(), KinematicJoint::getT(), and DualCoding::MapBuilder::processImage().
| SubMatrix<3,3,const R> fmat::TransformT< R >::rotation | ( | ) | const |
Definition at line 484 of file fmatSpatial.h.
| SubMatrix<3,3,R> fmat::TransformT< R >::rotation | ( | ) |
Definition at line 483 of file fmatSpatial.h.
Referenced by ShapeSpaceCollisionCheckerBase< N >::addObstacleFromCollisionModel(), LinkComponent::computeBB2D(), Grasper::PathPlanToRest::doStart(), Grasper::PathPlanConstrained::doStart(), Grasper::PathPlanUnconstrained::doStart(), LinkComponent::getCollisionModelTransform(), LinkComponent::getModelTransform(), LinkComponent::getObstacle(), KinematicJoint::getQuaternion(), KinematicJoint::getRotation(), KinematicJoint::getWorldRotation(), fmat::TransformT< R >::inverse(), ShapeSpacePlanner3DR< N >::plotPath(), ShapeSpacePlanner2DR< N >::plotPath(), Kinematics::projectToPlane(), CMPackWalkMC::updateOutputs(), and fmat::ypr().
| SubVector<3,const R> fmat::TransformT< R >::translation | ( | ) | const |
Definition at line 486 of file fmatSpatial.h.
| SubVector<3,R> fmat::TransformT< R >::translation | ( | ) |
Definition at line 485 of file fmatSpatial.h.
Referenced by ShapeSpaceCollisionCheckerBase< N >::addObstacleFromCollisionModel(), ArmController::cmdPointPicker(), LinkComponent::computeBB2D(), IKThreeLink::computeSecondLinkPrismatic(), IKThreeLink::computeThirdLinkPrismatic(), Grasper::PathPlanToRest::doStart(), Grasper::PathPlanConstrained::doStart(), Grasper::PathPlanUnconstrained::doStart(), ArmController::doStart(), LinkComponent::getBB2D(), LinkComponent::getCollisionModelTransform(), LinkComponent::getModelTransform(), Kinematics::getPosition(), KinematicJoint::getPosition(), KinematicJoint::getWorldPosition(), fmat::TransformT< R >::inverse(), fmat::TransformT< R >::offset(), ShapeSpacePlanner3DR< N >::plotPath(), ShapeSpacePlanner2DR< N >::plotPath(), and Kinematics::projectToPlane().
const TransformT< T > fmat::TransformT< T >::IDENTITY [static] |
identity instance
Definition at line 514 of file fmatSpatial.h.
Referenced by Kinematics::baseToLocal().
|
Tekkotsu v5.1CVS |
Generated Tue Jan 31 04:32:32 2012 by Doxygen 1.6.3 |