Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Indexing - SubIndexRange2dIterC
 

  PUBLIC
SubIndexRange2dIterC::SubIndexRange2dIterC(const IndexRange2dC &,const IndexRange2dC &)
SubIndexRange2dIterC::Window(void)
SubIndexRange2dIterC::Window(void) const
SubIndexRange2dIterC::First(void)
SubIndexRange2dIterC::Next(void)
SubIndexRange2dIterC::operator ++(int)
SubIndexRange2dIterC::IsElm(void) const
SubIndexRange2dIterC::operator bool(void) const

   SubIndexRange2dIterC   
 
Slide a rectangular window over a larger rectangle.
 
include "Ravl/SubIndexRange2dIter.hh"
Source file:Ravl/Core/Base/SubIndexRange2dIter.hh
User Level:Normal
Library:RavlCore
In Scope:RavlN

Comments:
Slide a window over all possible positions in a larger rectangle.

Variables:
UIntT size2;

IndexRange2dC imageRect;

IndexRange2dC window;

Methods:
SubIndexRange2dIterC(const IndexRange2dC & nImageRect,const IndexRange2dC & nwindow)
Constructor.

IndexRange2dC & Window()
Access current window.

const IndexRange2dC & Window() const
Access current window.

void First()
Goto first position.

bool Next()
Goto next position.
Returns true if window is on the same row.

bool operator ++(int)
Goto next position.
Returns true if window is on the same row.

bool IsElm() const
At a valid position ?

operator bool() const
At a valid position ?


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