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

  PUBLIC
PProjection1dC::PProjection1dC(void)
PProjection1dC::PProjection1dC(RealT,RealT,RealT,RealT)
PProjection1dC::PProjection1dC(const PProjection1dC &)
PProjection1dC::PProjection1dC(const PPoint1dC &,const PPoint1dC &,const PPoint1dC &)
PProjection1dC::PProjection1dC(const PPoint1dC &,const PPoint1dC &,const PPoint1dC &,const PPoint1dC &,const PPoint1dC &,const PPoint1dC &)
PProjection1dC::PProjection1dC(istream &)
PProjection1dC::operator=(const PProjection1dC &)
PProjection1dC::operator()(IndexT,IndexT) const
PProjection1dC::operator()(IndexT,IndexT)
PProjection1dC::PProjection1d(void) const
PProjection1dC::PProjection1d(void)
PProjection1dC::Set(const PProjection1dC &)
PProjection1dC::SetStandard(void)
PProjection1dC::I(void) const
PProjection1dC::operator*(const PPoint1dC &) const
PProjection1dC::operator()(const PPoint1dC &) const
PProjection1dC::operator*(const PProjection1dC &) const
PProjection1dC::PProjection1dC(const Matrix2d2C &)
PProjection1dC
 
Projective transformation in 1D space
 
include "amma/PProj1d.hh"
User Level:Default
Library:Mpg1
Example:exMat2d.cc
Section:Geometry.Projective.1-D
In Scope:std

Comments:
The class PProjection1dC represents a projective transformation of objects in projective line. The projection is represented by a 2 x 2 matrix. The indexes start from 0.

Parent Classes: Methods:
PProjection1dC()
Creates the zero projection. All points are projected into not-valid projective object.

PProjection1dC(RealT b00,RealT b01,RealT b10,RealT b11)
Creates a new projection and assign the values b[ij].

PProjection1dC(const PProjection1dC & p)
Copy constructor.

PProjection1dC(const PPoint1dC & i,const PPoint1dC & o,const PPoint1dC & u)
Creates a projective parametrization of the projective plane that transforms the projective point 'i' into the ideal point I(1,0), the projective point 'o' into the origin O(0,1), and the projective point 'u' into the unit point 'u'. All three points 'i', 'o', 'u' must be distinct.

PProjection1dC(const PPoint1dC & i0,const PPoint1dC & i1,const PPoint1dC & o0,const PPoint1dC & o1,const PPoint1dC & u0,const PPoint1dC & u1)
Creates a projection transformation taking plane p0 to the plane p1. The plane p0, resp. p1 contains the ideal point i0, resp. i1, the origin point o0, resp. o1, and the unit point u0, resp. u1. All three points x0, resp. x1, must be distinct.

PProjection1dC(istream & inS)
Creates a projection from the input stream.

const PProjection1dC & operator=(const PProjection1dC & p)
Assigment. Access to the elements of the projection. --------------------------------------------

RealT operator()(IndexT i,IndexT j) const
Returns the value of the element with indexes (i,j).

RealT & operator()(IndexT i,IndexT j)
Access to the value of the element with indexes (i,j).

const PProjection1dC & PProjection1d() const
Access to the constant object.

PProjection1dC & PProjection1d()
Access to the object. Setting of matrix elements. ---------------------------

void Set(const PProjection1dC & p)
Sets all elements of the projection according to the projection 'p'.

PProjection1dC & SetStandard()
Scales all elements in order to the determinant of the projection matrix is unit. Projective operations. ----------------------

PProjection1dC I() const
Returns the inverze projection.

PPoint1dC operator*(const PPoint1dC & p) const
Projects the point 'p' into the image point. The function is equivalent to the operator()(const PPoint1dC & p).

PPoint1dC operator()(const PPoint1dC & p) const
Projects the point 'p' into the image point. The function is equivalent to the operator*(const PPoint1dC & p).

PProjection1dC operator*(const PProjection1dC & p) const
Returns the composition of two projections. The result projects projective objects in the same way as they would be projected by projection 'p' at first and then by this projection.

PProjection1dC(const Matrix2d2C & m)
Creates a projectivity transformation defined by the matrix 'm'.


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001