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

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

ConditionalIterator is a base class for other iterators where membership in the set of output pixels is "conditional" upon some property, calculation, etc. For example, a threshold iterator might walk a region and return only those pixels which meet a minimum intensity condition. More...

#include <itkConditionalIterator.h>

Inheritance diagram for itk::ConditionalIterator:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef ConditionalIterator Self
typedef TImage::IndexType IndexType
typedef TImage::SizeType SizeType
typedef TImage::RegionType RegionType
typedef TImage ImageType
typedef TImage::InternalPixelType InternalPixelType
typedef TImage::PixelType PixelType

Public Methods

 itkStaticConstMacro (NDimensions, unsigned int, TImage::ImageDimension)
Selfoperator= (const Self &it)
 ConditionalIterator ()
virtual ~ConditionalIterator ()

Detailed Description

template<class TImage>
class itk::ConditionalIterator< TImage >

ConditionalIterator is a base class for other iterators where membership in the set of output pixels is "conditional" upon some property, calculation, etc. For example, a threshold iterator might walk a region and return only those pixels which meet a minimum intensity condition.

Definition at line 36 of file itkConditionalIterator.h.


Member Typedef Documentation

template<class TImage>
typedef TImage itk::ConditionalIterator< TImage >::ImageType
 

Image typedef support.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 58 of file itkConditionalIterator.h.

template<class TImage>
typedef TImage::IndexType itk::ConditionalIterator< TImage >::IndexType
 

Index typedef support.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 49 of file itkConditionalIterator.h.

template<class TImage>
typedef TImage::InternalPixelType itk::ConditionalIterator< TImage >::InternalPixelType
 

Internal Pixel Type

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 61 of file itkConditionalIterator.h.

template<class TImage>
typedef TImage::PixelType itk::ConditionalIterator< TImage >::PixelType
 

External Pixel Type

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 64 of file itkConditionalIterator.h.

template<class TImage>
typedef TImage::RegionType itk::ConditionalIterator< TImage >::RegionType
 

Region typedef support.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 55 of file itkConditionalIterator.h.

template<class TImage>
typedef ConditionalIterator itk::ConditionalIterator< TImage >::Self
 

Standard class typedefs.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 40 of file itkConditionalIterator.h.

template<class TImage>
typedef TImage::SizeType itk::ConditionalIterator< TImage >::SizeType
 

Size typedef support.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 52 of file itkConditionalIterator.h.


Constructor & Destructor Documentation

template<class TImage>
itk::ConditionalIterator< TImage >::ConditionalIterator  
 

Constructor

template<class TImage>
virtual itk::ConditionalIterator< TImage >::~ConditionalIterator   [virtual]
 

Destructor


Member Function Documentation

template<class TImage>
itk::ConditionalIterator< TImage >::itkStaticConstMacro NDimensions   ,
unsigned    int,
TImage::ImageDimension   
 

Dimension of the image the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.

Reimplemented from itk::ConditionalConstIterator< TImage >.

template<class TImage>
Self& itk::ConditionalIterator< TImage >::operator= const Self   it [inline]
 

operator= is provided to make sure the handle to the image is properly reference counted.

Reimplemented from itk::ConditionalConstIterator< TImage >.

Definition at line 68 of file itkConditionalIterator.h.

References itk::ConditionalConstIterator< TImage >::m_Image, and itk::ConditionalConstIterator< TImage >::m_Region.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:23:00 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000