User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Arrays - Buffer - BufferAccess2dIter4C<class Data1T,class Data2T,class Data3T,class Data4T>
 

  PUBLIC
BufferAccess2dIter4C::BufferAccess2dIter4C(void)
BufferAccess2dIter4C::BufferAccess2dIter4C(const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT)
BufferAccess2dIter4C::BufferAccess2dIter4C(const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &)
BufferAccess2dIter4C::First(const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &,const RangeBufferAccessC> &,const IndexRangeC &)
BufferAccess2dIter4C::First(const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT,const SizeBufferAccessC> &,SizeT)
BufferAccess2dIter4C::Next(void)
BufferAccess2dIter4C::NextCol(int)
BufferAccess2dIter4C::NextRow(void)
BufferAccess2dIter4C::IsElm(void) const
BufferAccess2dIter4C::operator bool(void) const
BufferAccess2dIter4C::operator ++(void)
BufferAccess2dIter4C::operator ++(int)
BufferAccess2dIter4C::Data1(void)
BufferAccess2dIter4C::Data1(void) const
BufferAccess2dIter4C::Data2(void)
BufferAccess2dIter4C::Data2(void) const
BufferAccess2dIter4C::Data3(void)
BufferAccess2dIter4C::Data3(void) const
BufferAccess2dIter4C::Data4(void)
BufferAccess2dIter4C::Data4(void) const
BufferAccess2dIter4C::RowIndex(const BufferAccessC *) const
BufferAccess2dIter4C::ColIndex(void) const
BufferAccess2dIter4C::Index(const BufferAccessC *) const

   BufferAccess2dIter4C<class Data1T,class Data2T,class Data3T,class Data4T>   
 
Iterate through a 2d buffer.
 
include "Ravl/BfAcc2Iter4.hh"
Created:24/01/2001 
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Derived Classes: Variables:
Methods:
BufferAccess2dIter4C()
Default constructor.

BufferAccess2dIter4C(const SizeBufferAccessC<BufferAccessC<Data1T>> & pbuf1,SizeT size1,const SizeBufferAccessC<BufferAccessC<Data2T>> & pbuf2,SizeT size2,const SizeBufferAccessC<BufferAccessC<Data3T>> & pbuf3,SizeT size3,const SizeBufferAccessC<BufferAccessC<Data4T>> & pbuf4,SizeT size4)
Constructor.

BufferAccess2dIter4C(const RangeBufferAccessC<BufferAccessC<Data1T>> & pbuf1,const IndexRangeC & nrng1,const RangeBufferAccessC<BufferAccessC<Data2T>> & pbuf2,const IndexRangeC & nrng2,const RangeBufferAccessC<BufferAccessC<Data3T>> & pbuf3,const IndexRangeC & nrng3,const RangeBufferAccessC<BufferAccessC<Data4T>> & pbuf4,const IndexRangeC & nrng4)
Constructor.

bool First(const RangeBufferAccessC<BufferAccessC<Data1T>> & pbuf1,const IndexRangeC & nrng1,const RangeBufferAccessC<BufferAccessC<Data2T>> & pbuf2,const IndexRangeC & nrng2,const RangeBufferAccessC<BufferAccessC<Data3T>> & pbuf3,const IndexRangeC & nrng3,const RangeBufferAccessC<BufferAccessC<Data4T>> & pbuf4,const IndexRangeC & nrng4)
Goto first element.
returns true if there is one.

bool First(const SizeBufferAccessC<BufferAccessC<Data1T>> & pbuf1,SizeT size1,const SizeBufferAccessC<BufferAccessC<Data2T>> & pbuf2,SizeT size2,const SizeBufferAccessC<BufferAccessC<Data3T>> & pbuf3,SizeT size3,const SizeBufferAccessC<BufferAccessC<Data4T>> & pbuf4,SizeT size4)
Goto first element.
returns true if there is one.

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

void NextCol(int skip)
Go forward 'skip' columns, without checking for row change.
Use with care.

bool NextRow()
Go to the begining of the next row.
Returns true if the iterator is begining of a valid row, and false if it is at the end of the array.

bool IsElm() const
At a valid element ?

operator bool() const
At a valid element ?

void operator ++()
Goto next element.

void operator ++(int)
Goto next element.

Data1T & Data1()
Access data from array 1.

const Data1T & Data1() const
Access data from array 1.

Data2T & Data2()
Access data from array 2.

const Data2T & Data2() const
Access data from array 2.

Data3T & Data3()
Access data from array 3.

const Data3T & Data3() const
Access data from array 3.

Data4T & Data4()
Access data from array 4.

const Data4T & Data4() const
Access data from array 4.

IntT RowIndex(const BufferAccessC<Data1T> * row1Begin) const
Work out the current row number

IntT ColIndex() const
Work out the current column number

Index2dC Index(const BufferAccessC<Data1T> * row1Begin) const
Get index of current location.
Has to be calculate, and so is slightly slow.


Maintainer:Charles Galambos, Created: 24/01/2001, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002