|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
This is a SMALL object.
NB. For reasons of efficiency this does NOT create
a refrence to the MatrixC class.
Derived Classes:
Variables:
- SizeT nCols;
-
Width of area being iterated.
- SizeT nRows;
-
Width of area being iterated.
- MUIndexT row;
-
Current row.
- RealT ** data;
-
Data in matrix.
- RealT * Place;
-
Ptr to current pixel.
- RealT * EndOfRow;
-
Ptr to end of row.
Methods:
- MatrixIterC()
-
default constructor.
- MatrixIterC(const MatrixC & mat,MUIndexT initrow = 0)
-
Access a matrix.
- MatrixIterC(const MatrixIterC & It)
-
Copy constructor.
- const MatrixIterC & operator=(const MatrixIterC & Oth)
-
Copy an iterator.
- const MatrixIterC & operator=(const MatrixC & Oth)
-
Assign to a new matrix.
Leaves the iterator pointing to the first element of that
matrix.
------------- Linear access ---------------
- BooleanT IsElm() const
-
At a valid element ?
- void First()
-
Goto first element in matrix.
- void RowStart()
-
Start of row.
- void NextRow()
-
Goto next row in matrix.
- void Next()
-
Goto next element in matrix.
- BooleanT RNext()
-
Goto next element in matrix.
Return FALSE if end of row.
- void NextLoopRow()
-
Goto next element in matrix.
If the end of the current row is reached,
iteration is restarted on the SAME row.
- RealT & Data()
-
Get data.
- const RealT & Data() const
-
Get data.
- MUIndexT Row() const
-
Get current row.
---------- Row oriented access --------
- BooleanT IsEndOfRow() const
-
At the end of a row.
- void SetRow(MUIndexT to)
-
Goto the begining of a particular row.
- void NextCol()
-
Goto next coloumb
UNSAFE, EXPERTS ONLY!!
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|