aimstil  5.0.5
til::VolumetricIterator< ImageNC< T > > Class Template Reference

#include <til/ImageNCVolumetricIterator.h>

Inheritance diagram for til::VolumetricIterator< ImageNC< T > >:
Collaboration diagram for til::VolumetricIterator< ImageNC< T > >:

Public Types

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

Public Member Functions

 VolumetricIterator ()
 Type returned by operator* (needed for template expression) More...
 
 VolumetricIterator (ImageNC< T > &im)
 constructor over the whole image range More...
 
 VolumetricIterator (ImageNC< T > &im, Range< int, 3 > &voi)
 
reference operator* () const
 Get reference of the current pixel. More...
 
- Public Member Functions inherited from til::ConstVolumetricIterator< ImageNC< T > >
 ConstVolumetricIterator ()
 Type returned by operator* (needed for template expression) More...
 
 ConstVolumetricIterator (const ImageNC< T > &im)
 
 ConstVolumetricIterator (const ImageNC< T > &im, const Range< int, 3 > &roi)
 
virtual ~ConstVolumetricIterator ()
 
virtual void init ()
 
virtual void init (const Range< int, 3 > &box)
 
const numeric_array< int, 3 > & pos () const
 
void set_pos (const numeric_array< int, 3 > &pos)
 
void setUnsafePos (const numeric_array< int, 3 > &pos)
 
const Range< int, 3 > & getRoi () const
 
const ImageNC< T > & image () const
 
INLINEgetUnsafeValue (int offsetx, int offsety, int offsetz) const
 
template<int offsetx, int offsety, int offsetz>
INLINEgetUnsafeValue () const
 
template<class Extrapolator , int offsetx, int offsety, int offsetz>
INLINEgetValue () const
 
template<class Extrapolator >
getValue (int offsetx, int offsety, int offsetz) const
 
template<class Extrapolator >
getValue (const numeric_array< int, 3 > &offset) const
 
INLINEoperator() (int offsetx, int offsety, int offsetz) const
 
INLINEoperator() (const numeric_array< int, 3 > &v) const
 
INLINE ConstVolumetricIterator< ImageNC< T > > & operator++ ()
 
INLINE void next (ImageAxis axis)
 
bool isAtEnd () const
 
reference operator* () const
 
const T *const getIndex ()
 

Additional Inherited Members

- Protected Attributes inherited from til::ConstVolumetricIterator< ImageNC< T > >
numeric_array< int, 3 > m_pos
 
numeric_array< int, 3 > m_offset
 
ImageNC< T > & m_im
 
Range< int, 3 > m_roi
 
T * m_index
 

Detailed Description

template<typename T>
class til::VolumetricIterator< ImageNC< T > >

Definition at line 16 of file ImageNCVolumetricIterator.h.

Member Typedef Documentation

◆ reference

template<typename T >
typedef T& til::VolumetricIterator< ImageNC< T > >::reference

Definition at line 21 of file ImageNCVolumetricIterator.h.

Constructor & Destructor Documentation

◆ VolumetricIterator() [1/3]

template<typename T >
til::VolumetricIterator< ImageNC< T > >::VolumetricIterator ( )
inline

Type returned by operator* (needed for template expression)

default constructor

Definition at line 29 of file ImageNCVolumetricIterator.h.

◆ VolumetricIterator() [2/3]

template<typename T >
til::VolumetricIterator< ImageNC< T > >::VolumetricIterator ( ImageNC< T > &  im)
inline

constructor over the whole image range

Definition at line 32 of file ImageNCVolumetricIterator.h.

◆ VolumetricIterator() [3/3]

template<typename T >
til::VolumetricIterator< ImageNC< T > >::VolumetricIterator ( ImageNC< T > &  im,
Range< int, 3 > &  voi 
)
inline

Definition at line 36 of file ImageNCVolumetricIterator.h.

Member Function Documentation

◆ operator*()

template<typename T >
reference til::VolumetricIterator< ImageNC< T > >::operator* ( ) const
inline

Get reference of the current pixel.

Definition at line 42 of file ImageNCVolumetricIterator.h.


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