|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
The class PPerspectivity3dC represents a perspective transformation
of objects in projective three-space. The perspective is
represented by a general projective transformation.
Parent Classes:
Methods:
- PPerspectivity3dC(const PPoint3dC & e,const PPlane3dC & i)
-
Creates a perspective projection whose center is 'e' and objects are
projected onto the image plane 'i'.
- PPerspectivity3dC(const Matrix4d4C & mat)
-
- const PProjection3dC & operator=(const PProjection3dC & p)
-
Assigment.
Access to the elements of the projection.
--------------------------------------------
- Matrix4d4C & Matrix()
-
Access as matrix.
- const Matrix4d4C & Matrix() const
-
Access as matrix.
- 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 PProjection3dC & PProjection3d() const
-
Access to the constant object.
- PProjection3dC & PProjection3d()
-
Access to the object.
- PPlane3dC Plane(IndexT i) const
-
Returns the row 'i'.
- PPoint3dC SingularPoint() const
-
Returns the singular points of the projection. If this projective
transformation is a perspectivity, the singular point is the optical
center of the projection.
Setting of matrix elements.
---------------------------
- void Set(const PProjection3dC & p)
-
Sets all elements of the projection according
to the projection 'p'.
- PProjection3dC & SetPlane(IndexT i,const PPlane3dC & p)
-
Sets the elements of the row 'i' according to the elements of
the plane 'p'.
Projective operations.
----------------------
- PPoint3dC operator*(const PPoint3dC & p) const
-
Projects the point 'p' into the image point. The function
is equivalent to the operator()(const PPoint3dC & p).
- PPoint3dC operator()(const PPoint3dC & p) const
-
Projects the point 'p' into the image point. The function
is equivalent to the operator*(const PPoint3dC & p).
- PProjection3dC operator*(const PProjection3dC & 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.
|
Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|