|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This is really only a simplified inferface to BinTable<>
BIG OBJECT.
Derived Classes:
Variables:
- const DataT binDefault;
-
Default value for table.
- RealT binSize;
-
Scaling factor for bins.
- RCHashARC tab;
-
Methods:
- RealBinTable1dC(RealT nBinSize = 1,const DataT & nDefault = DataT())
-
Constructor.
- DiscRealC Scale(RealT ind) const
-
Scale and descritise an input point.
- DataT & Bin(RealT pnt)
-
Access a bin.
- DataT & operator[](RealT nt)
-
Access a bin.
- void Empty(void)
-
Remove all items from table.
- BooleanT IsEmpty() const
-
Is table empty ?
- RealT BinSize() const
-
Get size of bins.
- RealT BinCentre(RealT at) const
-
Get centre of bin containing point at.
- void SetBinSize(RealT bs)
-
Set the bin size.
Notes:
This can only be done when the table is empty!
Any iterators that point to this table will use the OLD bin size.
- RealBinTable1dC(RealT nBinSize,const RCHashARC<DiscRealC,DataT> & nTab,const DataT & nBinDefault)
-
Constructor.
- RealBinTable1dC Copy() const
-
Make a copy of the table.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|