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

itk::ReflectiveImageRegionConstIterator< TImage > Class Template Reference

#include <itkReflectiveImageRegionConstIterator.h>

Inheritance diagram for itk::ReflectiveImageRegionConstIterator:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ReflectiveImageRegionConstIterator Self
typedef ImageConstIteratorWithIndex<
TImage > 
Superclass
typedef TImage::IndexType IndexType
typedef TImage ImageType
typedef TImage::PixelContainer PixelContainer
typedef PixelContainer::Pointer PixelContainerPointer
typedef TImage::RegionType RegionType

Public Methods

 ReflectiveImageRegionConstIterator ()
 ~ReflectiveImageRegionConstIterator ()
 ReflectiveImageRegionConstIterator (TImage *ptr, const RegionType &region)
 ReflectiveImageRegionConstIterator (const ImageConstIteratorWithIndex< TImage > &it)
bool IsReflected (unsigned int) const
Selfoperator++ ()
void GoToBegin (void)

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


Member Typedef Documentation

template<typename TImage>
typedef TImage itk::ReflectiveImageRegionConstIterator< 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. Note that we have to rescope Image back to itk::Image to that is it not confused with ImageIterator::Image.

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 59 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::IndexType itk::ReflectiveImageRegionConstIterator< TImage >::IndexType
 

Index 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. Note that we have to rescope Index back to itk::Index to that is it not confused with ImageIterator::Index.

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 53 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::PixelContainer itk::ReflectiveImageRegionConstIterator< 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::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 65 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef PixelContainer::Pointer itk::ReflectiveImageRegionConstIterator< TImage >::PixelContainerPointer
 

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 66 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef TImage::RegionType itk::ReflectiveImageRegionConstIterator< TImage >::RegionType
 

Region 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. Note that we have to rescope Region back to itk::ImageRegion so that is it not confused with ImageIterator::Index.

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 73 of file itkReflectiveImageRegionConstIterator.h.

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

Standard class typedefs.

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 46 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
typedef ImageConstIteratorWithIndex<TImage> itk::ReflectiveImageRegionConstIterator< TImage >::Superclass
 

Reimplemented in itk::ReflectiveImageRegionIterator< TImage >.

Definition at line 47 of file itkReflectiveImageRegionConstIterator.h.


Constructor & Destructor Documentation

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator  
 

Default constructor. Needed since we provide a cast constructor.

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::~ReflectiveImageRegionConstIterator   [inline]
 

Default destructor.

Definition at line 79 of file itkReflectiveImageRegionConstIterator.h.

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator TImage *    ptr,
const RegionType   region
 

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

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator const ImageConstIteratorWithIndex< TImage > &    it [inline]
 

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

Definition at line 93 of file itkReflectiveImageRegionConstIterator.h.


Member Function Documentation

template<typename TImage>
void itk::ReflectiveImageRegionConstIterator< TImage >::GoToBegin void   
 

Move an iterator to the beginning of the region.

Reimplemented from itk::ImageConstIteratorWithIndex< TImage >.

template<typename TImage>
bool itk::ReflectiveImageRegionConstIterator< TImage >::IsReflected unsigned    int const
 

template<typename TImage>
Self& itk::ReflectiveImageRegionConstIterator< TImage >::operator++  
 

Increment (prefix) the fastest moving dimension of the iterator's index. This operator will constrain the iterator within the region (i.e. the iterator will automatically wrap from the end of the row of the region to the beginning of the next row of the region) up until the iterator tries to moves past the last pixel of the region. Here, the iterator will be set to be one pixel past the end of the region.

See also:
operator++(int)


The documentation for this class was generated from the following file:
Generated at Wed Mar 12 01:20:33 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000