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

  PUBLIC
PointToIndex3dC::PointToIndex3dC(const Point3dC &,const Point3dC &)
PointToIndex3dC::operator()(const Point3dC &)
PointToIndex3dC::operator>>(istream &,PointToIndex3dC &)
PointToIndex3dC::operator<<(ostream &,const PointToIndex3dC &)
PointToIndex3dC
 
Conversion of Point3dC into Index3dC
 
include "amma/PtToInd3.hh"
User Level:Default
Library:Magm
Example:exMat2d.cc
Section:Containers.Arrays.3-D Arrays Geometry.3-D
In Scope:std

Comments:
The class PointToIndex3dC serves as the transformation between three-dimensional point and three-dimensional index, including scaling and translation.

Variables:
Point3dC offset;
coordinates of the first point

Point3dC size;
size of a cell of the grid

Methods:
PointToIndex3dC(const Point3dC & minimumPoint,const Point3dC & cellSize)
Creates the transformation which converts a 3-D point into a cell index.

Index3dC operator()(const Point3dC & point)
Converts the 'point' into index.

istream & operator>>(istream & inS,PointToIndex3dC & tr)

ostream & operator<<(ostream & outS,const PointToIndex3dC & tr)


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