#include <itkConditionalConstIterator.h>
Inheritance diagram for itk::ConditionalConstIterator< TImage >:
Public Types | |
typedef ConditionalConstIterator | 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 Member Functions | |
itkStaticConstMacro (NDimension, unsigned int, TImage::ImageDimension) | |
virtual bool | IsPixelIncluded (const IndexType &index) const=0 |
Self & | operator= (const Self &it) |
virtual const IndexType | GetIndex ()=0 |
virtual const PixelType & | Get (void) const=0 |
virtual bool | IsAtEnd ()=0 |
virtual void | operator++ ()=0 |
ConditionalConstIterator () | |
virtual | ~ConditionalConstIterator () |
Static Public Member Functions | |
unsigned int | GetIteratorDimension () |
Protected Attributes | |
ImageType::ConstWeakPointer | m_Image |
RegionType | m_Region |
bool | m_IsAtEnd |
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.
|
|
|
|
|
|
|
|
Constructor |
|
Destructor |
|
Get the pixel value at the current iterator location. Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalIterator< TImage, TFunction >, and itk::FloodFilledSpatialFunctionConditionalIterator< TImage, TFunction >. |
|
Get the index at the current iterator location. Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. |
|
Get the dimension (size) of the index. Reimplemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. Definition at line 80 of file itkConditionalConstIterator.h. |
|
Is the iterator at the end of the region? Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. |
|
Compute whether the index of interest should be included in the flood Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, itk::FloodFilledImageFunctionConditionalConstIterator< TImage, TFunction >, and itk::FloodFilledSpatialFunctionConditionalConstIterator< TImage, TFunction >. |
|
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. Reimplemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. |
|
Walk forward one index. Implemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. |
|
operator= is provided to make sure the handle to the image is properly reference counted. Reimplemented in itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >. Definition at line 72 of file itkConditionalConstIterator.h. References itk::ConditionalConstIterator< TImage >::m_Image, itk::ConditionalConstIterator< TImage >::m_Region, and itk::ConditionalConstIterator< TImage >::Self. |
|
Smart pointer to the source image. Definition at line 104 of file itkConditionalConstIterator.h. Referenced by itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=(), and itk::ConditionalConstIterator< TImage >::operator=(). |
|
Is the iterator at the end of its walk? Definition at line 110 of file itkConditionalConstIterator.h. |
|
Region type to iterate over. Definition at line 107 of file itkConditionalConstIterator.h. Referenced by itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=(), and itk::ConditionalConstIterator< TImage >::operator=(). |