User Documentation
Centre for Vision, Speech & Signal Processing
DEVELOP IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
Affine2dC::Affine2dC(void)
Affine2dC::Affine2dC(const AffineC &)
Affine2dC::Affine2dC(const Affine2dC &)
Affine2dC::Affine2dC(const Matrix2d2C &,const Vector2dC &)
Affine2dC::Affine2dC(const Vector2dC &,RealT,const Vector2dC &)
Affine2dC::Affine2dC(const Vector2dC &,RealT,RealT,const Vector2dC &)
Affine2dC::Rotate(RealT)
AffineC::Translation(void)
AffineC::Translation(void) const
AffineC::Scale(VectorT)
AffineC::Translate(const VectorT &)
AffineC::operator*(const VectorT &) const
AffineC::operator*(const AffineC &) const
AffineC::operator/(const AffineC &) const
AffineC::I(void) const
AffineC::SRMatrix(void)
AffineC::SRMatrix(void) const
AffineC::operator=(const AffineC &)
Affine2dC
 
2-D affine transformation
 
include "amma/Affine2d.hh"
User Level:Default
Library:Mag2
Example:exMat2d.cc
Section:Geometry.2-D
In Scope:std

Comments:
This class is used to apply a (6-parameter) 2-D affine transformation. Note that it transforms the point w.r.t. the coordinate system; it does not transform the coordinate system itself.

Parent Classes: Methods:
Affine2dC()
Construct identity transformation.

Affine2dC(const AffineC<Matrix2d2C,Vector2dC> & Oth)
Construct from base template.

Affine2dC(const Affine2dC & Oth)
Copy constructor.

Affine2dC(const Matrix2d2C & SR,const Vector2dC & T)
Constructor from scaling/rotation matrix and translation vector.

Affine2dC(const Vector2dC & Scale,RealT Angle,const Vector2dC & Trans)
Constructor for arbitrary anisotropic scaling, rotation and translation.
The scaling axes are aligned with the coordinate axes.

Affine2dC(const Vector2dC & Scale,RealT ScaleAngle,RealT Angle,const Vector2dC & Trans)
Constructor for arbitrary anisotropic scaling, rotation and translation.
The scaling axes are aligned at an angle ScaleAngle w.r.t. the coordinate axes.

void Rotate(RealT Angle)
Add rotation Angle to transformation

#include "amma/Affine.hh"
Vector2dC & Translation()
Access the translation component of the transformation.

Vector2dC Translation() const
Constant access to the translation component of the transformation.

void Scale(Vector2dC xy)
In place Scaling along the X & Y axis by value given in the vector.
If all values 1, then no effect.

void Translate(const Vector2dC & T)
Add a translation in direction T.

Vector2dC operator*(const Vector2dC & In) const
Transform Vector, Scale, Rotate, Translate.
Take a vector and put it though the transformation.

AffineC<Matrix2d2C,Vector2dC> operator*(const AffineC & In) const
Compose this transform with 'In'

AffineC<Matrix2d2C,Vector2dC> operator/(const AffineC & In) const
'In' * 'Out' = this; returns 'Out'

AffineC<Matrix2d2C,Vector2dC> I(void) const
Generate an inverse transformation.

Matrix2d2C & SRMatrix()
Get Scale/Rotate matrix.

const Matrix2d2C & SRMatrix() const
Get Scale/Rotate matrix.

const AffineC<Matrix2d2C,Vector2dC> & operator=(const AffineC & Oth)
Assigmment.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001