ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkConditionalConstIterator.h>
Public Types | |
typedef TImage | ImageType |
typedef TImage::IndexType | IndexType |
typedef TImage::InternalPixelType | InternalPixelType |
typedef TImage::PixelType | PixelType |
typedef TImage::RegionType | RegionType |
typedef ConditionalConstIterator | Self |
typedef TImage::SizeType | SizeType |
Public Member Functions | |
ConditionalConstIterator () | |
virtual const PixelType | Get (void) const =0 |
virtual const IndexType | GetIndex ()=0 |
virtual bool | IsAtEnd ()=0 |
virtual bool | IsPixelIncluded (const IndexType &index) const =0 |
virtual void | operator++ ()=0 |
Self & | operator= (const Self &it) |
virtual | ~ConditionalConstIterator () |
Static Public Member Functions | |
static unsigned int | GetIteratorDimension (void) |
Static Public Attributes | |
static const unsigned int | NDimension = TImage::ImageDimension |
Protected Attributes | |
ImageType::ConstWeakPointer | m_Image |
bool | m_IsAtEnd |
RegionType | m_Region |
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.
This class is the const version of the ConditionalIterator. For this reason, it doesn't support the Set() method.
Definition at line 38 of file itkConditionalConstIterator.h.
typedef TImage itk::ConditionalConstIterator< TImage >::ImageType |
Image typedef support.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 60 of file itkConditionalConstIterator.h.
typedef TImage::IndexType itk::ConditionalConstIterator< TImage >::IndexType |
Index typedef support.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 51 of file itkConditionalConstIterator.h.
typedef TImage::InternalPixelType itk::ConditionalConstIterator< TImage >::InternalPixelType |
Internal Pixel Type
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 63 of file itkConditionalConstIterator.h.
typedef TImage::PixelType itk::ConditionalConstIterator< TImage >::PixelType |
External Pixel Type
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 66 of file itkConditionalConstIterator.h.
typedef TImage::RegionType itk::ConditionalConstIterator< TImage >::RegionType |
Region typedef support.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 57 of file itkConditionalConstIterator.h.
typedef ConditionalConstIterator itk::ConditionalConstIterator< TImage >::Self |
Standard class typedefs.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 42 of file itkConditionalConstIterator.h.
typedef TImage::SizeType itk::ConditionalConstIterator< TImage >::SizeType |
Size typedef support.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >.
Definition at line 54 of file itkConditionalConstIterator.h.
itk::ConditionalConstIterator< TImage >::ConditionalConstIterator | ( | ) |
Constructor
|
virtual |
Destructor
|
pure virtual |
Get the pixel value at the current iterator location.
Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >.
|
pure virtual |
Get the index at the current iterator location.
Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
|
inlinestatic |
Get the dimension (size) of the index.
Reimplemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
Definition at line 82 of file itkConditionalConstIterator.h.
References itk::ConditionalConstIterator< TImage >::NDimension.
|
pure virtual |
Is the iterator at the end of the region?
Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
|
pure virtual |
Compute whether the index of interest should be included in the flood
Implemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, itk::ShapedFloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, and itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >.
|
pure virtual |
Walk forward one index.
Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
|
inline |
operator= is provided to make sure the handle to the image is properly reference counted.
Reimplemented in itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >.
Definition at line 73 of file itkConditionalConstIterator.h.
References itk::ConditionalConstIterator< TImage >::m_Image, itk::ConditionalConstIterator< TImage >::m_IsAtEnd, and itk::ConditionalConstIterator< TImage >::m_Region.
|
protected |
Smart pointer to the source image.
Definition at line 108 of file itkConditionalConstIterator.h.
Referenced by itk::ConditionalConstIterator< TImage >::operator=(), itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=(), and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=().
|
protected |
Is the iterator at the end of its walk?
Definition at line 114 of file itkConditionalConstIterator.h.
Referenced by itk::ConditionalConstIterator< TImage >::operator=().
|
protected |
Region type to iterate over.
Definition at line 111 of file itkConditionalConstIterator.h.
Referenced by itk::ConditionalConstIterator< TImage >::operator=(), itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=(), and itk::ShapedFloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=().
|
static |
Dimension of the image the iterator walks. This constant is needed so that 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.
Definition at line 48 of file itkConditionalConstIterator.h.
Referenced by itk::ConditionalConstIterator< TImage >::GetIteratorDimension().