|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
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:
public AffineC<class MatrixT,class VectorT>
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
- void Dummy(void)
-
Dummy function.
- 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.
- istream & operator>>(istream & inS,AffineC<Matrix2d2C,Vector2dC> & vector)
-
- ostream & operator<<(ostream & outS,const AffineC<Matrix2d2C,Vector2dC> & vector)
-
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|