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

  PUBLIC
OrthoProjection3to1dC::OrthoProjection3to1dC(void)
OrthoProjection3to1dC::OrthoProjection3to1dC(const Point3dC &,const Point3dC &)
OrthoProjection3to1dC::OrthoProjection3to1dC(const Point3dC &,const Vector3dC &)
OrthoProjection3to1dC::OrthoProjection3to1dC(const OrthoProjection3to1dC &)
OrthoProjection3to1dC::operator()(const Point3dC &) const
OrthoProjection3to1dC::operator[](const Point3dC &) const
OrthoProjection3to1dC::operator()(const Coor1DT &) const
OrthoProjection3to1dC::Distance(const Point3dC &) const
OrthoProjection3to1dC::operator()(const OrthoProjection3to1dC::Coor1DT &) const
OrthoProjection3to1dC
 
Orthogonal projection between 1D and 3D spaces
 
include "amma/OProj1a3.hh"
User Level:Default
Library:Mpm123
Example:exMat2d.cc
Section:Geometry.Transforms
In Scope:std

Comments:
The class OrthoProjection3to1dC represents orthogonal projection from 3D space into the 1D space.

Typedefs:
typedef double Coor1DT;
The coordinate in 1D space.

typedef double DistanceT;
Distance.

Variables:
Point3dC coorOrigin;
The origin of the coordinate system of 1D space expressed in 3D coordinate system.

Vector3dC unitDirection;
The direction of the 1D space expressed in 3D coordinate system.

Methods:
OrthoProjection3to1dC()
Non-existing projection. All point are projected into the point (0,0,0).

OrthoProjection3to1dC(const Point3dC & origin,const Point3dC & plusPoint)
The projection mapping will project 3D points into 1D points belonging to the 1D space (line). The embedded line is defined in 3D space by the origin point and another arbitrary point different from the origin lying in the positive half of the line.

OrthoProjection3to1dC(const Point3dC & origin,const Vector3dC & plusDirection)
The projection mapping will project 3D points into 1D points belonging to the 1D space (line). The embedded line is defined in 3D space by the origin point and an arbitrary vector different from zero vector pointing into the positive half of the line.

OrthoProjection3to1dC(const OrthoProjection3to1dC & p)
Copy constructor. Projections. ------------

Coor1DT operator()(const Point3dC & p) const
Returns the coordinate of the orthogonal projection of the 3D point 'p'. The returned point coordinate is expressed in the coordinate system of the 1D space (line).

Point3dC operator[](const Point3dC & p) const
Returns the coordinates of the orthogonal projection of the 3D point 'p'. The returned point coordinate is expressed in the coordinate system of the 3D space.

Point3dC operator()(const Coor1DT & p) const
Returns the 3D coordinates of the point 'p' belonging to the embedded 1D space. Coordinate system relationships. --------------------------------

DistanceT Distance(const Point3dC & p) const
Returns the orthogonal distance between the point 'p' and the embedded 1D space.

Point3dC operator()(const OrthoProjection3to1dC::Coor1DT & p) const


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