|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
-------------------------------------------------------
Name : Vox.hh
Library :
Description: Voxel Based Data
Dependancies:
Modified :
Created : 4.96
Author : Adrian Hilton
-------------------------------------------------------
------------------------
Debug
#define VOX_DEBUG
#define VOX_VERBOSE
-----------------------------------------------------------------------
VoxC - voxel containing field function weight and distance + index
Derived Classes:
Variables:
Methods:
- VoxC()
-
VoxC(const IntT i);
- VoxC(const Index3dC i)
-
- VoxC(const VoxC & v)
-
- const VoxC operator=(const VoxC & v)
-
-------------------------- Access
- BooleanT Valid() const
-
- BooleanT & Valid()
-
IntT Index() const;
IntT& Index();
- Index3dC Index() const
-
- Index3dC & Index()
-
- RealT SignedDistance() const
-
signed distance to zero-set
- RealT Distance() const
-
absolute distance to zero-set
- RealT & SignedDistance()
-
set the signed distance
- RealT SignedDistance(const Vector3dC & v) const
-
signed distance to zero-set = SignedDistance()
for compatability with VoxPointNormal()
- RealT Distance(const Vector3dC & v) const
-
absolute distance to zero-set = Distance()
for compatability with VoxPointNormal()
- RealT Weight() const
-
- RealT & Weight()
-
access/set weight
- BooleanT Bound() const
-
Dummy function always returns FALSE (ie. not boundary)
-------------------------- Array Access: RLE string encoding of VoxSetC
- VoxRealT Label() const
-
Label of voxel data
- VoxRealT Size() const
-
Size of voxel data
- IntT Put(const BaseVoxSetC & voxset,SArray1dC<VoxRealT> & s,const IntT istart) const
-
Encode voxel data in array 's' at position 'istart'
return array index for start of next value istart+Size()
- void Get(const BaseVoxSetC & voxset,SArray1dC<VoxRealT> & s,const IntT istart)
-
Extract voxel data from array 's' at position 'istart'
----------------------------------------------- Fusion of data
- void Fusion(const BaseVoxSetC & voxset,const TriNearestPointC & np)
-
- void Fusion(const BaseVoxSetC & voxset,const VoxC & np)
-
Combine data from this voxel with nearest point 'np' or 'vox'
fusion type is defined by voxset.FusionType()
- void FusionNew(const RealT & d,const RealT & w)
-
- void FusionNew(const TriNearestPointC & np)
-
- void FusionNew(const VoxC & vox)
-
put np data into voxel (new voxel)
- void FusionNearest(const TriNearestPointC & np)
-
- void FusionNearest(const VoxC & vox)
-
Fusion based on nearest only
fuse_type=0
- void FusionWeightedAverage(const RealT & d,const RealT & w)
-
- void FusionWeightedAverage(const TriNearestPointC & np)
-
- void FusionWeightedAverage(const VoxC & vox)
-
fuse vox with this (weighted average)
Fusion based on weighted average
fuse_type=1
|
Programmer:Adrian Hilton, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|