Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::ImageReverseIterator< TImage > Class Template Reference
[Image Iterators]

Multi-dimensional image iterator which only walks a region. More...

#include <itkImageReverseIterator.h>

Inheritance diagram for itk::ImageReverseIterator< TImage >:

Inheritance graph
[legend]
Collaboration diagram for itk::ImageReverseIterator< TImage >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ImageReverseIterator Self
typedef ImageRegionReverseConstIterator<
TImage > 
Superclass
typedef Superclass::IndexType IndexType
typedef Superclass::IndexValueType IndexValueType
typedef Superclass::SizeType SizeType
typedef Superclass::SizeValueType SizeValueType
typedef Superclass::OffsetType OffsetType
typedef Superclass::OffsetValueType OffsetValueType
typedef Superclass::RegionType RegionType
typedef Superclass::ImageType ImageType
typedef Superclass::PixelContainer PixelContainer
typedef Superclass::PixelContainerPointer PixelContainerPointer
typedef Superclass::InternalPixelType InternalPixelType
typedef Superclass::PixelType PixelType
typedef Superclass::AccessorType AccessorType

Public Member Functions

 ImageReverseIterator ()
 ImageReverseIterator (ImageType *ptr, const RegionType &region)
 ImageReverseIterator (const ImageIteratorWithIndex< TImage > &it)
void Set (const PixelType &value) const
PixelTypeValue (void)

Protected Member Functions

 ImageReverseIterator (const ImageRegionReverseConstIterator< TImage > &it)
Selfoperator= (const ImageRegionReverseConstIterator< TImage > &it)

Detailed Description

template<typename TImage>
class itk::ImageReverseIterator< TImage >

Multi-dimensional image iterator which only walks a region.

ImageReverseIterator is a templated class to represent a multi-dimensional iterator. ImageReverseIterator is templated over the image type ImageReverseIterator is constrained to walk only within the specified region and along a line parallel to one of the coordinate axis.

Most of the functionality is inherited from the ImageRegionReverseConstIterator. The current class only adds write access to image pixels.

See also:
ImageRegionReverseConstIterator

Definition at line 45 of file itkImageReverseIterator.h.


Member Typedef Documentation

template<typename TImage>
typedef Superclass::AccessorType itk::ImageReverseIterator< TImage >::AccessorType
 

Accessor type that convert data between internal and external representations.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 65 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::ImageType itk::ImageReverseIterator< TImage >::ImageType
 

Image typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 60 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::IndexType itk::ImageReverseIterator< TImage >::IndexType
 

Types inherited from the Superclass

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 53 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::IndexValueType itk::ImageReverseIterator< TImage >::IndexValueType
 

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 54 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::InternalPixelType itk::ImageReverseIterator< TImage >::InternalPixelType
 

Internal Pixel Type

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 63 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::OffsetType itk::ImageReverseIterator< TImage >::OffsetType
 

Offset typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 57 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::OffsetValueType itk::ImageReverseIterator< TImage >::OffsetValueType
 

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 58 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::PixelContainer itk::ImageReverseIterator< TImage >::PixelContainer
 

PixelContainer typedef support. Used to refer to the container for the pixel data. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 61 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::PixelContainerPointer itk::ImageReverseIterator< TImage >::PixelContainerPointer
 

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 62 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::PixelType itk::ImageReverseIterator< TImage >::PixelType
 

External Pixel Type

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 64 of file itkImageReverseIterator.h.

Referenced by itk::ImageReverseIterator< TImage >::Set(), and itk::ImageReverseIterator< TImage >::Value().

template<typename TImage>
typedef Superclass::RegionType itk::ImageReverseIterator< TImage >::RegionType
 

Region typedef support.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 59 of file itkImageReverseIterator.h.

template<typename TImage>
typedef ImageReverseIterator itk::ImageReverseIterator< TImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 49 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::SizeType itk::ImageReverseIterator< TImage >::SizeType
 

Size typedef support. While this was already typdef'ed in the superclass it needs to be redone here for this subclass to compile properly with gcc.

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 55 of file itkImageReverseIterator.h.

template<typename TImage>
typedef Superclass::SizeValueType itk::ImageReverseIterator< TImage >::SizeValueType
 

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 56 of file itkImageReverseIterator.h.

template<typename TImage>
typedef ImageRegionReverseConstIterator<TImage> itk::ImageReverseIterator< TImage >::Superclass
 

Reimplemented from itk::ImageRegionReverseConstIterator< TImage >.

Definition at line 50 of file itkImageReverseIterator.h.


Constructor & Destructor Documentation

template<typename TImage>
itk::ImageReverseIterator< TImage >::ImageReverseIterator  ) 
 

Default constructor. Needed since we provide a cast constructor.

template<typename TImage>
itk::ImageReverseIterator< TImage >::ImageReverseIterator ImageType ptr,
const RegionType region
 

Constructor establishes an iterator to walk a particular image and a particular region of that image.

template<typename TImage>
itk::ImageReverseIterator< TImage >::ImageReverseIterator const ImageIteratorWithIndex< TImage > &  it  ) 
 

Constructor that can be used to cast from an ImageIterator to an ImageReverseIterator. Many routines return an ImageIterator but for a particular task, you may want an ImageReverseIterator. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageReverseIterator.

template<typename TImage>
itk::ImageReverseIterator< TImage >::ImageReverseIterator const ImageRegionReverseConstIterator< TImage > &  it  )  [protected]
 

the construction from a const iterator is declared protected in order to enforce const correctness.


Member Function Documentation

template<typename TImage>
Self& itk::ImageReverseIterator< TImage >::operator= const ImageRegionReverseConstIterator< TImage > &  it  )  [protected]
 

the construction from a const iterator is declared protected in order to enforce const correctness.

template<typename TImage>
void itk::ImageReverseIterator< TImage >::Set const PixelType value  )  const [inline]
 

Set the pixel value

Reimplemented from itk::ImageReverseConstIterator< TImage >.

Definition at line 84 of file itkImageReverseIterator.h.

References itk::ImageReverseIterator< TImage >::PixelType.

template<typename TImage>
PixelType& itk::ImageReverseIterator< TImage >::Value void   )  [inline]
 

Return a reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors.

Reimplemented from itk::ImageReverseConstIterator< TImage >.

Definition at line 90 of file itkImageReverseIterator.h.

References itk::ImageReverseIterator< TImage >::PixelType.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:08:20 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000