|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Note: This only works for multi-dementional tables.
use SparsHist1d for 1d histograms.
SMALL OBJECT
Template paramiter. Examples.
IT - Index Type. ( Vector2dC )
DIT - Descritised index type. ( Index2dC )
BT - Bin Type. ( x )
Parent Classes:
Methods:
- RCBinTableC(const IT & nBinSize)
-
Default constructor.
- BT & operator[](const IT & pnt)
-
Access a bin.
- BT & Bin(const DIT & pnt)
-
Access a bin directly.
- void Empty(void)
-
Remove all items from table.
- const IT & BinSize(void) const
-
Get size of bins.
- DIT Scale(const IT & ind) const
-
Scale and descritise an input point.
- IT BinCentre(const IT & at) const
-
Get centre of bin containing point at.
- BooleanT IsA(const RCWrapBaseC & oth)
-
Test if RCWrapBase is derived from this wrap type.
Returns true if it is.
- RCWrapC<BinTableC<IT,DIT,BT>> Copy() const
-
Make a copy.
- BinTableC<IT,DIT,BT> & Data()
-
Access data, explicitly
- const BinTableC<IT,DIT,BT> & Data() const
-
Access data, explicitly
- operator BinTableC<IT,DIT,BT> &()
-
Access object.
- operator const BinTableC<IT,DIT,BT> &() const
-
Access object.
- RCWrapBaseBodyC & Body()
-
Access body.
- const RCWrapBaseBodyC & Body() const
-
Const access to body.
- const type_info & DataType() const
-
Type of object held.
- BooleanT Save(ostream & sout) const
-
Write contained object to stream.
- RCAbstractC Abstract()
-
Create an abstract handle to this object.
- BooleanT IsHandleType(const DT &) const
-
Is handle of given type ?
- void CheckHandleType(const DT & dummy) const
-
Check handle type. Throw an expception if not.
- BooleanT Save(ostream & out) const
-
Save to ostream.
- RCHandleAC<RCWrapBaseBodyC> Copy() const
-
Creat a deep copy of this object.
protected:
- BooleanT IsValid() const
-
Check its a valid handle.
- BooleanT IsValidObject() const
-
Check its a valid handle, and that the object is pointed to is also valid.
- RCHandleC<RCWrapBaseBodyC> & operator=(const RCHandleC<RCWrapBaseBodyC> & oth)
-
Assignment.
- BooleanT operator==(const RCHandleC<RCWrapBaseBodyC> & oth) const
-
Comparison operator.
- BooleanT operator!=(const RCHandleC<RCWrapBaseBodyC> & oth) const
-
Comparison operator.
- UIntT Hash() const
-
Hash function.x
- BooleanT IsConst() const
-
Is object constant ?
- BooleanT IsNotConst() const
-
Is object not constant ?
- void SetConst(void) const
-
Lock the object.
This is const as a convience though it actual modified the
object, often object you wish to ensure are constant already
have const set.
protected:
- void Invalidate()
-
Turn this into an invalid handle.
- RCWrapBaseBodyC & Body()
-
Direct access to body.
- const RCWrapBaseBodyC & Body() const
-
Constant access to body.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|