aimstil  5.0.5
til::LinearIterator< ImageC< T > > Class Template Reference

A class to iterate through all values of an image. More...

#include <til/ImageLinearIterator.h>

Inheritance diagram for til::LinearIterator< ImageC< T > >:
Collaboration diagram for til::LinearIterator< ImageC< T > >:

Public Types

typedef T & reference
 
- Public Types inherited from til::ConstLinearIterator< ImageC< T > >
typedef T value_type
 
typedef ImageC< T > TImage
 
typedef const T & reference
 

Public Member Functions

 LinearIterator (ImageC< T > &im)
 Type returned by operator* (needed for template expression) More...
 
reference operator* () const
 Get reference of the current pixel. More...
 
- Public Member Functions inherited from til::ConstLinearIterator< ImageC< T > >
 ConstLinearIterator ()
 
 ConstLinearIterator (const ImageC< T > &im)
 
virtual ~ConstLinearIterator ()
 
void init (const ImageC< T > &im)
 
void setEnd (const T *end)
 
INLINE void operator++ ()
 
INLINE bool next ()
 
bool isAtEnd () const
 
reference operator* () const
 
T * getIndex () const
 

Detailed Description

template<typename T>
class til::LinearIterator< ImageC< T > >

A class to iterate through all values of an image.

Allows to read and write to the image.

Definition at line 16 of file ImageLinearIterator.h.

Member Typedef Documentation

◆ reference

template<typename T >
typedef T& til::LinearIterator< ImageC< T > >::reference

Definition at line 22 of file ImageLinearIterator.h.

Constructor & Destructor Documentation

◆ LinearIterator()

template<typename T >
til::LinearIterator< ImageC< T > >::LinearIterator ( ImageC< T > &  im)
inline

Type returned by operator* (needed for template expression)

Definition at line 29 of file ImageLinearIterator.h.

Member Function Documentation

◆ operator*()

template<typename T >
reference til::LinearIterator< ImageC< T > >::operator* ( ) const
inline

Get reference of the current pixel.

Definition at line 35 of file ImageLinearIterator.h.

References til::getIndex().


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