OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
LineIterator Class Reference

#include <line_iterator.hh>

Public Member Functions

 LineIterator (const Extent &ext, unsigned int flag=(Axis::X|Axis::Y|Axis::Z))
 
bool AtEnd ()
 
void Inc ()
 
ExtentIterator GetLine ()
 
int GetSize () const
 
LineIteratoroperator++ ()
 
LineIterator operator++ (int)
 
ExtentIterator GetNextLine ()
 

Detailed Description

line iterator generator

generates consecutive lines over given extent

Definition at line 41 of file line_iterator.hh.

Constructor & Destructor Documentation

LineIterator ( const Extent ext,
unsigned int  flag = (Axis::X|Axis::Y|Axis::Z) 
)

Initialization with extent and flag.

Flag determines which axes are scanned by the iterator: (use the img::geometry::axis constants)

Member Function Documentation

bool AtEnd ( )

return true if iterator has reached end

ExtentIterator GetLine ( )

retrieve current line (in form of an ExtentIterator)

ExtentIterator GetNextLine ( )

convenience method, but preferred!

int GetSize ( ) const

Retrieve Size of current line.

void Inc ( )

increase method

LineIterator& operator++ ( )

Prefix increase operator.

LineIterator operator++ ( int  )

Postfix increase operator.


The documentation for this class was generated from the following file: