aimstil
5.0.5
|
#include <til/ConstImageVolumetricIterator.h>
Public Types | |
typedef T | value_type |
typedef const T & | reference |
typedef ImageC< T > | TImage |
Public Member Functions | |
ConstVolumetricIterator () | |
ConstVolumetricIterator (const ImageC< T > &im) | |
ConstVolumetricIterator (const ImageC< T > &im, const Range< int, 3 > &roi) | |
virtual | ~ConstVolumetricIterator () |
virtual void | init () |
virtual void | init (const Range< int, 3 > &box) |
void | set_pos (const numeric_array< int, 3 > &pos) |
void | setUnsafePos (const numeric_array< int, 3 > &pos) |
const numeric_array< int, 3 > & | pos () const |
const Range< int, 3 > & | roi () const |
const ImageC< T > & | image () const |
INLINE T | getUnsafeValue (int offsetx, int offsety, int offsetz) const |
Get value of a neighbor WITHOUT RANGE CHECKING. More... | |
template<int offsetx, int offsety, int offsetz> | |
INLINE T | getUnsafeValue () const |
Get value of a neighbor WITHOUT RANGE CHECKING. More... | |
INLINE T | getUnsafeValue (const numeric_array< int, 3 > &offset) const |
Get value of a neighbor WITHOUT RANGE CHECKING. More... | |
template<class Extrapolator , int offsetx, int offsety, int offsetz> | |
INLINE T | getValue () const |
template<class Extrapolator > | |
T | getValue (const numeric_array< int, 3 > &offset) const |
Get value of a neighbor. More... | |
INLINE T | operator() (const numeric_array< int, 3 > &offset) const |
INLINE void | operator++ () |
Go to next image element. More... | |
INLINE bool | next () |
Go to next image element, return whether operation succeeded. More... | |
INLINE void | next (ImageAxis axis) |
Go to next element in the following direction. More... | |
INLINE bool | isAtEnd () const |
Test whether the iterator has reached the end of the image or not. More... | |
reference | operator* () const |
Return the value of the current element. More... | |
T * | getIndex () const |
Definition at line 23 of file ConstImageVolumetricIterator.h.
typedef const T& til::ConstVolumetricIterator< ImageC< T > >::reference |
Definition at line 28 of file ConstImageVolumetricIterator.h.
typedef ImageC<T> til::ConstVolumetricIterator< ImageC< T > >::TImage |
Definition at line 29 of file ConstImageVolumetricIterator.h.
typedef T til::ConstVolumetricIterator< ImageC< T > >::value_type |
Definition at line 27 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 34 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 37 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 40 of file ConstImageVolumetricIterator.h.
|
inlinevirtual |
Definition at line 42 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 212 of file ConstImageVolumetricIterator.h.
|
inline |
Get value of a neighbor WITHOUT RANGE CHECKING.
NB: the offset is passed, not the actual position
Definition at line 80 of file ConstImageVolumetricIterator.h.
|
inline |
Get value of a neighbor WITHOUT RANGE CHECKING.
NB: the offset is passed as a template parameter
Definition at line 92 of file ConstImageVolumetricIterator.h.
|
inline |
Get value of a neighbor WITHOUT RANGE CHECKING.
NB: the offset is passed, not the actual position
Definition at line 99 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 108 of file ConstImageVolumetricIterator.h.
|
inline |
Get value of a neighbor.
Extrapolation is done if the position lies beyond image range. NB: the offset is passed, not the actual position Get value of a neighbor. Extrapolation is done if the position lies beyond image range. NB: the offset is passed, not the actual position
Definition at line 154 of file ConstImageVolumetricIterator.h.
References til::contains().
|
inline |
Definition at line 73 of file ConstImageVolumetricIterator.h.
|
virtual |
Definition at line 270 of file ConstImageVolumetricIterator.h.
References til::getRange(), and INLINE.
|
virtual |
Definition at line 241 of file ConstImageVolumetricIterator.h.
References til::contains(), til::getRange(), til::Box< T, D >::max_bounds(), and til::Box< T, D >::min_bounds().
|
inline |
Test whether the iterator has reached the end of the image or not.
Definition at line 203 of file ConstImageVolumetricIterator.h.
INLINE bool til::ConstVolumetricIterator< ImageC< T > >::next | ( | ) |
Go to next image element, return whether operation succeeded.
Definition at line 369 of file ConstImageVolumetricIterator.h.
References INLINE.
INLINE void til::ConstVolumetricIterator< ImageC< T > >::next | ( | ImageAxis | axis | ) |
Go to next element in the following direction.
Definition at line 395 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 184 of file ConstImageVolumetricIterator.h.
References INLINE, and til::operator++().
|
inline |
Return the value of the current element.
Definition at line 206 of file ConstImageVolumetricIterator.h.
INLINE void til::ConstVolumetricIterator< ImageC< T > >::operator++ | ( | ) |
Go to next image element.
Definition at line 307 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 67 of file ConstImageVolumetricIterator.h.
|
inline |
Definition at line 70 of file ConstImageVolumetricIterator.h.
void til::ConstVolumetricIterator< ImageC< T > >::set_pos | ( | const numeric_array< int, 3 > & | pos | ) |
Definition at line 328 of file ConstImageVolumetricIterator.h.
References til::contains().
|
inline |
Definition at line 349 of file ConstImageVolumetricIterator.h.
References INLINE.