InverseTransform Class Reference

Transform from frame B to frame F, but with the internal representation inverted. More...

#include <Transform.h>

List of all members.

Public Member Functions

 InverseTransform ()
 operator Transform () const
InverseTransformoperator= (const Transform &X)
const Transforminvert () const
TransformupdInvert ()
const Transformoperator~ () const
Transformoperator~ ()
Transform compose (const Transform &X_FY) const
Transform compose (const InverseTransform &X_FY) const
Vec3 xformFrameVecToBase (const Vec3 &vF) const
Vec3 xformBaseVecToFrame (const Vec3 &vB) const
Vec3 shiftFrameStationToBase (const Vec3 &sF) const
Vec3 shiftBaseStationToFrame (const Vec3 &sB) const
const InverseRotationR () const
InverseRotationupdR ()
const InverseRotation::ColTypex () const
const InverseRotation::ColTypey () const
const InverseRotation::ColTypez () const
const RotationRInv () const
RotationupdRInv ()
Vec3 p () const
void setP (const Vec3 &p_BF)
const Vec3pInv () const
void setPInv (const Vec3 &p)
Mat34 toMat34 () const
 For compatibility with Transform, but we don't provide an "as" method here since the internal storage layout is somewhat odd.
Mat44 toMat44 () const
 Return the equivalent 4x4 transformation matrix.
Vec3 T () const

Detailed Description

Transform from frame B to frame F, but with the internal representation inverted.

That is, we store R*,p* here but the transform this represents is

 *
 *  B F    [       |   ]
 *   X   = [   R   | p ]   where R=~(R*), p = - ~(R*)(p*).
 *         [.......|...]
 *         [ 0 0 0   1 ] 
 *
 * 

Constructor & Destructor Documentation

InverseTransform (  )  [inline]

Member Function Documentation

Transform compose ( const InverseTransform X_FY  )  const [inline]
Transform compose ( const Transform X_FY  )  const [inline]

References Transform::p(), and Transform::R().

Referenced by SimTK::operator*().

const Transform& invert (  )  const [inline]
operator Transform (  )  const [inline]
InverseTransform& operator= ( const Transform X  )  [inline]
Transform& operator~ (  )  [inline]
const Transform& operator~ (  )  const [inline]
Vec3 p (  )  const [inline]
const Vec3& pInv (  )  const [inline]
const InverseRotation& R (  )  const [inline]
const Rotation& RInv (  )  const [inline]
void setP ( const Vec3 p_BF  )  [inline]
void setPInv ( const Vec3 p  )  [inline]
Vec3 shiftBaseStationToFrame ( const Vec3 sB  )  const [inline]
Vec3 shiftFrameStationToBase ( const Vec3 sF  )  const [inline]

Referenced by SimTK::operator*().

Vec3 T (  )  const [inline]

References InverseTransform::p().

Mat34 toMat34 (  )  const [inline]

For compatibility with Transform, but we don't provide an "as" method here since the internal storage layout is somewhat odd.

Mat44 toMat44 (  )  const [inline]

Return the equivalent 4x4 transformation matrix.

Transform& updInvert (  )  [inline]
InverseRotation& updR (  )  [inline]
Rotation& updRInv (  )  [inline]
const InverseRotation::ColType& x (  )  const [inline]
Vec3 xformBaseVecToFrame ( const Vec3 vB  )  const [inline]
Vec3 xformFrameVecToBase ( const Vec3 vF  )  const [inline]

Referenced by SimTK::operator*().

const InverseRotation::ColType& y (  )  const [inline]
const InverseRotation::ColType& z (  )  const [inline]

The documentation for this class was generated from the following file:

Generated on Wed Dec 30 11:05:29 2009 for SimTKcore by  doxygen 1.6.1