User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Arrays - 2D - Array2dSqr2IterC<class DataT>
 

  PUBLIC
Array2dSqr2IterC::Array2dSqr2IterC(void)
Array2dSqr2IterC::Array2dSqr2IterC(const Array2dC &)
Array2dSqr2IterC::First(void)
Array2dSqr2IterC::Next(void)
Array2dSqr2IterC::IsElm(void) const
Array2dSqr2IterC::operator bool(void) const
Array2dSqr2IterC::operator ++(void)
Array2dSqr2IterC::operator ++(int)
Array2dSqr2IterC::operator *(void)
Array2dSqr2IterC::operator *(void) const
Array2dSqr2IterC::DataBR(void)
Array2dSqr2IterC::DataBR(void) const
Array2dSqr2IterC::DataBL(void)
Array2dSqr2IterC::DataBL(void) const
Array2dSqr2IterC::DataTR(void)
Array2dSqr2IterC::DataTR(void) const
Array2dSqr2IterC::DataTL(void)
Array2dSqr2IterC::DataTL(void) const
Array2dSqr2IterC::Index(void) const

   Array2dSqr2IterC<class DataT>   
 
Iterator which slides a 2x2 window over an array.
 
include "Ravl/Array2dSqr2Iter.hh"
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
The square can be accessed with DataBL,DataBR,DataUL and DataUR which access the following array elements.

TL TR
BL BR

Parent Classes: Variables:
Methods:
Array2dSqr2IterC()
Default constructor.

Array2dSqr2IterC(const Array2dC<DataT> & narray)
Constructor.

bool First()
Goto first element in the array.

bool Next()
Goto next element.
Returns true if its on the same row.

bool IsElm() const
Test if iterator is at a valid element.

operator bool() const
Test if iterator is at a valid element.

void operator ++()
Goto next element.

void operator ++(int)
Goto next element.

DataT & operator *()
Access bottom right data element

const DataT & operator *() const
Access bottom right data element

DataT & DataBR()
Access bottom right data element

const DataT & DataBR() const
Access bottom right data element

DataT & DataBL()
Access bottom left data element

const DataT & DataBL() const
Access bottom left data element

DataT & DataTR()
Access upper right data element

const DataT & DataTR() const
Access upper right data element

DataT & DataTL()
Access upper left data element.

const DataT & DataTL() const
Access upper left data element

Index2dC Index() const
Get index of current location.
Has to be calculate, and so is slightly slow.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002