|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
To use subsitute vectors & matrixes of appropriate sizes
into MatrixT and VectorT. Instances of the matrix may be
found in Geometry.x-D. If they're not there write one and add
it!
MatrixT should be square and equal in dimension to VectorT.
Derived Classes:
Variables:
- MatrixT SR;
-
Scale/rotate.
- VectorT T;
-
Translate.
Methods:
- AffineC()
-
Construct no-change transform.
- AffineC(const AffineC & Oth)
-
Copy constructor.
- AffineC(const MatrixT & SR,const VectorT & T)
-
Construct from Scale/Rotate matrix and a translation vector.
- VectorT & Translation()
-
Access the translation component of the transformation.
- VectorT Translation() const
-
Constant access to the translation component of the transformation.
- void Scale(VectorT 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 VectorT & T)
-
Add a translation in direction T.
- VectorT operator*(const VectorT & In) const
-
Transform Vector, Scale, Rotate, Translate.
Take a vector and put it though the transformation.
- AffineC<MatrixT,VectorT> operator*(const AffineC & In) const
-
Compose this transform with 'In'
- AffineC<MatrixT,VectorT> operator/(const AffineC & In) const
-
'In' * 'Out' = this; returns 'Out'
- AffineC<MatrixT,VectorT> I(void) const
-
Generate an inverse transformation.
- MatrixT & SRMatrix()
-
Get Scale/Rotate matrix.
- const MatrixT & SRMatrix() const
-
Get Scale/Rotate matrix.
- const AffineC<MatrixT,VectorT> & operator=(const AffineC & Oth)
-
Assigmment.
- istream & operator>>(istream & inS,AffineC<MatrixT,VectorT> & vector)
-
- ostream & operator<<(ostream & outS,const AffineC<MatrixT,VectorT> & vector)
-
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|