|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-------------------------------------------------------
Name : BuckArr.hh
Library :
Description: Bucket containing 2D Array of Arrays of DataC
Dependancies: SArray1dC,OrthoProj3to2dC
Modified :
Created : 5.96
Author : Adrian Hilton
-------------------------------------------------------
========================================================
2D Planar Projection of objects stored as array of arrays
does not support dynamic Insert/Delete of data
Insert mew array as reqd...
Parent Classes:
Variables:
- SArray1dC> table;
-
Methods:
- BucketArray3to2dC()
-
empty
- BucketArray3to2dC(const OrthoProjection3to2dC plane,const Point2dC du,const Index2dC n)
-
Definition of 2D (u,v) reference frame
BucketResolution 'du' where metric disntance in 3D & 2D space is same
Number of buckets in reference frame directions n
Limits of 2D reference frame umin,umax - not used (wrap if u>umax)
- BucketArray3to2dC(const BucketArray3to2dC<DataC> & vv)
-
copy
- const BucketArray3to2dC<DataC> operator=(const BucketArray3to2dC<DataC> vv)
-
Assigment.
------------------ Operators
------------------ Access to internal data struture
- SArray1dC<DataC> & GetArray(const Index2dC i)
-
- SArray1dC<DataC> & GetArray(const Vector3dC i)
-
- const BaseBucket3to2dC & operator=(const BaseBucket3to2dC & vv)
-
Assigment.
------------------- Operations
- Index2dC Index2d(const Point2dC p) const
-
2D Index of grid (iu,jv) correponding to 2D point in reference plane
- Index2dC Index2d(const Vector3dC v) const
-
2D Index of grid (iu,jv) correponding to 3D point
projected into the reference plane
- Index2dC Index2dInRange(const Index2dC i) const
-
2D Index of grid in range [0..N,0..M] for NxM grid
- Index2dC Size() const
-
Dimension of reference plane grid
- IntT Row() const
-
Dimension of u-axis in (u,v) reference plane grid
- IntT Col() const
-
Dimension of v-axis in (u,v) reference plane grid
- Point2dC Resolution() const
-
Resolution of buckets in )u,v)
- RealT MinResolution() const
-
Minimum Resolution of buckets in (u,v)
- OrthoProjection3to2dC Local() const
-
Local projection plane
--------------------------------- Local Coordinates in 2D Reference Frame
- Point2dC Point2d(const Vector3dC v) const
-
Local projection of 'v' to 2D reference frame
- Point2dC Point2d(const Index2dC i) const
-
Local cordinates (u,v) of grid vertex i in the 2D reference frame
NB: unique transform in 2D: i <=> (u,v)
- Point2dC Point2dInRange(const Vector3dC v) const
-
Local projection of 'v' in range of 2D reference plane
---------------------------------Global Coordinates in 2D Reference Frame
- Point3dC Point3d(const Vector3dC v) const
-
Global coords of 'v' projection of on 2D reference frame
- Point3dC Point3d(const Index2dC i) const
-
Global coords of 'i' on 2D reference frame
- Point3dC Point3d(const Point2dC p) const
-
Global coords of 'p' on 2D reference frame
- Vector3dC Normal() const
-
Normal to 2D Reference Frame
- IntT Index(const Vector3dC v) const
-
1D Index for 3D vector value
- IntT Index(const Point2dC p) const
-
1D Index for 2D point on reference plane
- IntT IndexPoint(const Point2dC p) const
-
- IntT Index(const Index2dC i) const
-
Index for bucket i,j in reference plane
IntT Index(const IntT i, const IntT di, const IntT dj);
Index fo bucket i + (di,dj) = (iu+di,iv+dj) in referene plane
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|