#include <itkConditionalConstIterator.h>
Inheritance diagram for itk::ConditionalConstIterator:
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 Methods | |
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 Methods | |
unsigned int | GetIteratorDimension () |
Protected Attributes | |
ImageType::ConstPointer | 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 79 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::ConditionalIterator< TImage >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::FloodFilledFunctionConditionalIterator< 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::ConditionalIterator< TImage >, itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >, and itk::FloodFilledFunctionConditionalIterator< TImage, TFunction >. Definition at line 72 of file itkConditionalConstIterator.h. References itk::ConditionalConstIterator< TImage >::m_Image, and itk::ConditionalConstIterator< TImage >::m_Region. |
|
|
Is the iterator at the end of its walk? Definition at line 109 of file itkConditionalConstIterator.h. Referenced by itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::IsAtEnd(). |
|
Region type to iterate over. Definition at line 106 of file itkConditionalConstIterator.h. Referenced by itk::FloodFilledFunctionConditionalIterator< TImage, TFunction >::operator=(), itk::FloodFilledFunctionConditionalConstIterator< TImage, TFunction >::operator=(), itk::ConditionalIterator< TImage >::operator=(), and itk::ConditionalConstIterator< TImage >::operator=(). |