User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Indexing - IndexRange2dIterC
 

  PUBLIC
IndexRange2dIterC::IndexRange2dIterC(void)
IndexRange2dIterC::IndexRange2dIterC(const IndexRange2dC &)
IndexRange2dIterC::First(void)
IndexRange2dIterC::Data(void) const
IndexRange2dIterC::operator *(void) const
IndexRange2dIterC::operator ->(void) const
IndexRange2dIterC::Next(void)
IndexRange2dIterC::operator ++(int)
IndexRange2dIterC::IsElm(void) const
IndexRange2dIterC::operator bool(void) const
IndexRange2dIterC::Frame(void) const
IndexRange2dIterC::Frame(void)

   IndexRange2dIterC   
 
Iterate through a 2d range.
 
include "Ravl/IndexRange2dIter.hh"
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
Note: This is NOT as fast as the usual nested for loop. It does allow cleaner, and more readable code.

Variables:
Methods:
IndexRange2dIterC()
Default constructor.

IndexRange2dIterC(const IndexRange2dC & rng)
Construct from an index range.

bool First()
Goto first index.

const Index2dC & Data() const
Access current position.

const Index2dC & operator *() const
Access current position.

const Index2dC * operator ->() const
Access current position.

bool Next()
Goto next index.
Returns true if on the same line.

void operator ++(int)
Goto next index.

bool IsElm() const
At a valid index in rectangle ?

operator bool() const
At a valid index in rectangle ?

const IndexRange2dC & Frame() const
Access the frame we're iterating.

IndexRange2dC & Frame()
Access the frame we're iterating.


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