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

  PUBLIC
NearestC::NearestC(void)
NearestC::NearestC(VectorSetC &)
NearestC::~NearestC(void)
NearestC::NearestC(const NearestC &)
NearestC::operator=(const NearestC &)
NearestC::SetupHash(const RealT &)
NearestC::SetupHash(const Vector3dC &)
NearestC::Nearest(Vector3dC &)
NearestC
 
include "amma/Nearest.hh"
User Level:Default
Library:nn
Example: cri.cc
Section:default.Adrian Hilton
In Scope:std

Comments:
------------------------------------------------------- Name : NearestC.hh Library : vecsetC Description: Nearest Neighbour Vector Set Pair Dependancies: Vector3dC, VectorSetC Modified : Created : 13.2.95 Author : Adrian Hilton ------------------------------------------------------- ======================================================== INLINE ================== NearestC ============================= Nearest correspondence of any point to a target set of vectors

Variables:
Methods:
NearestC()
empty constructor

NearestC(VectorSetC & t)

~NearestC()
destruct

NearestC(const NearestC & s)
copy constructor

const NearestC & operator=(const NearestC & s)
assignment Internal Data Structure for Computation - Default Direct Computation O(N) --------------------------------------------------------------------------

void SetupHash(const RealT & size)
Hash table uniform spatial subdivision using voxels of size vsize

void SetupHash(const Vector3dC & vsize)
Hash table spatial subdivision with voxels of size vsize(X,Y,Z) Operations -----------

IntT Nearest(Vector3dC & v)
get nearest point in target set to point v returns -1 if no nearest point is found


Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001