#include <itkImageConstIteratorWithIndex.h>
Public Types | |
typedef TImage::AccessorFunctorType | AccessorFunctorType |
typedef TImage::AccessorType | AccessorType |
typedef TImage | ImageType |
typedef TImage::IndexType | IndexType |
typedef IndexType::IndexValueType | IndexValueType |
typedef TImage::InternalPixelType | InternalPixelType |
typedef TImage::OffsetType | OffsetType |
typedef OffsetType::OffsetValueType | OffsetValueType |
typedef TImage::PixelContainer | PixelContainer |
typedef PixelContainer::Pointer | PixelContainerPointer |
typedef TImage::PixelType | PixelType |
typedef TImage::RegionType | RegionType |
typedef ImageConstIteratorWithIndex | Self |
typedef TImage::SizeType | SizeType |
typedef SizeType::SizeValueType | SizeValueType |
Public Member Functions | |
Self | Begin (void) const |
Self | End (void) const |
PixelType | Get (void) const |
const IndexType & | GetIndex () const |
const RegionType & | GetRegion () const |
void | GoToBegin (void) |
void | GoToReverseBegin (void) |
ImageConstIteratorWithIndex (const TImage *ptr, const RegionType ®ion) | |
ImageConstIteratorWithIndex (const Self &it) | |
ImageConstIteratorWithIndex () | |
bool | IsAtEnd (void) const |
bool | IsAtReverseEnd (void) const |
itkStaticConstMacro (ImageDimension, unsigned int, TImage::ImageDimension) | |
bool | operator!= (const Self &it) const |
bool | operator< (const Self &it) const |
bool | operator<= (const Self &it) const |
Self & | operator= (const Self &it) |
bool | operator== (const Self &it) const |
bool | operator> (const Self &it) const |
bool | operator>= (const Self &it) const |
bool | Remaining () |
const PixelType & | Value (void) const |
void | SetIndex (const IndexType &ind) |
Static Public Member Functions | |
static unsigned int | GetImageDimension () |
Protected Attributes | |
const InternalPixelType * | m_Begin |
IndexType | m_BeginIndex |
const InternalPixelType * | m_End |
IndexType | m_EndIndex |
TImage::ConstWeakPointer | m_Image |
unsigned long | m_OffsetTable [ImageDimension+1] |
AccessorType | m_PixelAccessor |
AccessorFunctorType | m_PixelAccessorFunctor |
const InternalPixelType * | m_Position |
IndexType | m_PositionIndex |
RegionType | m_Region |
bool | m_Remaining |
ImageConstIteratorWithIndex is a templated class to represent a multi-dimensional iterator. ImageConstIteratorWithIndex is templated over the dimension of the image and the data type of the image.
ImageConstIteratorWithIndex is a base class for the "WithIndex" family of ITK image iterators, which are designed to effeciently keep track of the image index position of the iterator during increment and decrement operations. This iterator is a base class and provides only the basic construction and comparison operations. It does not provide mechanisms for moving the iterator. A subclass of ImageConstIteratorWithIndex must be used to move the iterator.
ImageConstIteratorWithIndex is a multi-dimensional iterator, requiring more information be specified before the iterator can be used than conventional iterators. Whereas the std::vector::iterator from the STL only needs to be passed a pointer to establish the iterator, the multi-dimensional image iterator needs a pointer, the size of the buffer, the size of the region, the start index of the buffer, and the start index of the region. To gain access to this information, ImageConstIteratorWithIndex holds a reference to the image over which it is traversing.
ImageConstIteratorWithIndex assumes a particular layout of the image data. In particular, the data is arranged in a 1D array as if it were [][][][slice][row][col] with Index[0] = col, Index[1] = row, Index[2] = slice, etc.
ConstShapedNeighborhoodIterator
CorrespondenceDataStructureIterator
FloodFilledFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalConstIterator
FloodFilledImageFunctionConditionalIterator
FloodFilledSpatialFunctionConditionalConstIterator
FloodFilledSpatialFunctionConditionalIterator
ImageLinearConstIteratorWithIndex
ImageRandomConstIteratorWithIndex
ImageRegionConstIteratorWithIndex
ImageRegionExclusionConstIteratorWithIndex
ImageRegionExclusionIteratorWithIndex
ImageRegionReverseConstIterator
Definition at line 91 of file itkImageConstIteratorWithIndex.h.
typedef TImage::AccessorFunctorType itk::ImageConstIteratorWithIndex< TImage >::AccessorFunctorType |
Definition at line 132 of file itkImageConstIteratorWithIndex.h.
typedef TImage::AccessorType itk::ImageConstIteratorWithIndex< TImage >::AccessorType |
Accessor type that convert data between internal and external representations.
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 131 of file itkImageConstIteratorWithIndex.h.
typedef TImage itk::ImageConstIteratorWithIndex< TImage >::ImageType |
Image typedef support.
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 115 of file itkImageConstIteratorWithIndex.h.
typedef TImage::IndexType itk::ImageConstIteratorWithIndex< TImage >::IndexType |
Index typedef support.
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 104 of file itkImageConstIteratorWithIndex.h.
typedef IndexType::IndexValueType itk::ImageConstIteratorWithIndex< TImage >::IndexValueType |
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 105 of file itkImageConstIteratorWithIndex.h.
typedef TImage::InternalPixelType itk::ImageConstIteratorWithIndex< TImage >::InternalPixelType |
Internal Pixel Type
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 124 of file itkImageConstIteratorWithIndex.h.
typedef TImage::OffsetType itk::ImageConstIteratorWithIndex< TImage >::OffsetType |
Type of the Offset taken from the image
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 135 of file itkImageConstIteratorWithIndex.h.
typedef OffsetType::OffsetValueType itk::ImageConstIteratorWithIndex< TImage >::OffsetValueType |
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 136 of file itkImageConstIteratorWithIndex.h.
typedef TImage::PixelContainer itk::ImageConstIteratorWithIndex< 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 in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 120 of file itkImageConstIteratorWithIndex.h.
typedef PixelContainer::Pointer itk::ImageConstIteratorWithIndex< TImage >::PixelContainerPointer |
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 121 of file itkImageConstIteratorWithIndex.h.
typedef TImage::PixelType itk::ImageConstIteratorWithIndex< TImage >::PixelType |
External Pixel Type
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 127 of file itkImageConstIteratorWithIndex.h.
typedef TImage::RegionType itk::ImageConstIteratorWithIndex< TImage >::RegionType |
Region typedef support.
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 112 of file itkImageConstIteratorWithIndex.h.
typedef ImageConstIteratorWithIndex itk::ImageConstIteratorWithIndex< TImage >::Self |
Standard class typedefs.
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceConstIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageLinearConstIteratorWithIndex< TImage >, itk::ImageLinearConstIteratorWithIndex< TImageType >, itk::ImageLinearIteratorWithIndex< TImageType >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRegionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, and itk::ImageSliceConstIteratorWithIndex< TImage >.
Definition at line 95 of file itkImageConstIteratorWithIndex.h.
typedef TImage::SizeType itk::ImageConstIteratorWithIndex< TImage >::SizeType |
Size typedef support.
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionConstIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImageType >, and itk::ImageRegionExclusionConstIteratorWithIndex< TImage >.
Definition at line 108 of file itkImageConstIteratorWithIndex.h.
typedef SizeType::SizeValueType itk::ImageConstIteratorWithIndex< TImage >::SizeValueType |
Reimplemented in itk::ReflectiveImageRegionIterator< TImage >, itk::ImageIteratorWithIndex< TImage >, itk::ImageLinearIteratorWithIndex< TImage >, itk::ImageRandomIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingIteratorWithIndex< TImage >, itk::ImageRegionExclusionIteratorWithIndex< TImage >, itk::ImageRegionIteratorWithIndex< TImage >, itk::ImageSliceIteratorWithIndex< TImage >, and itk::ImageLinearIteratorWithIndex< TImageType >.
Definition at line 109 of file itkImageConstIteratorWithIndex.h.
itk::ImageConstIteratorWithIndex< TImage >::ImageConstIteratorWithIndex | ( | ) |
Default Constructor. Need to provide a default constructor since we provide a copy constructor.
itk::ImageConstIteratorWithIndex< TImage >::ImageConstIteratorWithIndex | ( | const Self & | it | ) |
Copy Constructor. The copy constructor is provided to make sure the handle to the image is properly reference counted.
itk::ImageConstIteratorWithIndex< TImage >::ImageConstIteratorWithIndex | ( | const TImage * | ptr, | |
const RegionType & | region | |||
) |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
Self itk::ImageConstIteratorWithIndex< TImage >::Begin | ( | void | ) | const |
Move an iterator to the beginning of the region.
Self itk::ImageConstIteratorWithIndex< TImage >::End | ( | void | ) | const |
Move an iterator to the End of the region.
PixelType itk::ImageConstIteratorWithIndex< TImage >::Get | ( | void | ) | const [inline] |
Get the pixel value
Definition at line 237 of file itkImageConstIteratorWithIndex.h.
static unsigned int itk::ImageConstIteratorWithIndex< TImage >::GetImageDimension | ( | ) | [inline, static] |
Get the dimension (size) of the index.
Definition at line 156 of file itkImageConstIteratorWithIndex.h.
const IndexType& itk::ImageConstIteratorWithIndex< TImage >::GetIndex | ( | void | ) | const [inline] |
Get the index. This provides a read only reference to the index.
Definition at line 219 of file itkImageConstIteratorWithIndex.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::Statistics::JointDomainImageToListAdaptor< TImage >::Search().
const RegionType& itk::ImageConstIteratorWithIndex< TImage >::GetRegion | ( | ) | const [inline] |
Get the region that this iterator walks. ImageIterators know the beginning and the end of the region of the image to iterate over.
Definition at line 224 of file itkImageConstIteratorWithIndex.h.
void itk::ImageConstIteratorWithIndex< TImage >::GoToBegin | ( | void | ) |
Move an iterator to the beginning of the region.
Reimplemented in itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ReflectiveImageRegionConstIterator< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, and itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::Statistics::JointDomainImageToListAdaptor< TImage >::Search().
void itk::ImageConstIteratorWithIndex< TImage >::GoToReverseBegin | ( | void | ) |
Move an iterator to the End of the region.
bool itk::ImageConstIteratorWithIndex< TImage >::IsAtEnd | ( | void | ) | const [inline] |
Is the iterator at the end of the region?
Reimplemented in itk::ImageRandomConstIteratorWithIndex< TImage >, itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >, itk::ImageRandomConstIteratorWithIndex< TImage >, and itk::ImageRandomNonRepeatingConstIteratorWithIndex< TImage >.
Definition at line 267 of file itkImageConstIteratorWithIndex.h.
Referenced by itk::ConstrainedRegionBasedLevelSetFunctionSharedData< TInputImage, TFeatureImage, TSingleData >::PopulateListImage(), and itk::Statistics::JointDomainImageToListAdaptor< TImage >::Search().
bool itk::ImageConstIteratorWithIndex< TImage >::IsAtReverseEnd | ( | void | ) | const [inline] |
Is the iterator at the beginning of the region?
Definition at line 261 of file itkImageConstIteratorWithIndex.h.
itk::ImageConstIteratorWithIndex< TImage >::itkStaticConstMacro | ( | ImageDimension | , | |
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.
bool itk::ImageConstIteratorWithIndex< TImage >::operator!= | ( | const Self & | it | ) | const [inline] |
Comparison operator. Two iterators are the same if they "point to" the same memory location
Definition at line 162 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::operator< | ( | const Self & | it | ) | const [inline] |
Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.
Definition at line 190 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::operator<= | ( | const Self & | it | ) | const [inline] |
Comparison operator. An iterator is "less than" another if it "points to" a lower memory location.
Definition at line 180 of file itkImageConstIteratorWithIndex.h.
Self& itk::ImageConstIteratorWithIndex< TImage >::operator= | ( | const Self & | it | ) |
operator= is provided to make sure the handle to the image is properly reference counted.
bool itk::ImageConstIteratorWithIndex< TImage >::operator== | ( | const Self & | it | ) | const [inline] |
Comparison operator. Two iterators are the same if they "point to" the same memory location
Definition at line 171 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::operator> | ( | const Self & | it | ) | const [inline] |
Comparison operator. An iterator is "greater than" another if it "points to" a higher location.
Definition at line 210 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::operator>= | ( | const Self & | it | ) | const [inline] |
Comparison operator. An iterator is "greater than" another if it "points to" a higher location.
Definition at line 200 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::Remaining | ( | ) | [inline] |
Are there data remainning in the region ?
Definition at line 273 of file itkImageConstIteratorWithIndex.h.
void itk::ImageConstIteratorWithIndex< TImage >::SetIndex | ( | const IndexType & | ind | ) | [inline] |
Set the index. No bounds checking is performed.
Definition at line 229 of file itkImageConstIteratorWithIndex.h.
const PixelType& itk::ImageConstIteratorWithIndex< TImage >::Value | ( | void | ) | const [inline] |
Return a const reference to the pixel This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors.
Definition at line 243 of file itkImageConstIteratorWithIndex.h.
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_Begin [protected] |
Definition at line 292 of file itkImageConstIteratorWithIndex.h.
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_BeginIndex [protected] |
Definition at line 282 of file itkImageConstIteratorWithIndex.h.
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_End [protected] |
Definition at line 293 of file itkImageConstIteratorWithIndex.h.
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_EndIndex [protected] |
Definition at line 283 of file itkImageConstIteratorWithIndex.h.
TImage::ConstWeakPointer itk::ImageConstIteratorWithIndex< TImage >::m_Image [protected] |
Definition at line 279 of file itkImageConstIteratorWithIndex.h.
unsigned long itk::ImageConstIteratorWithIndex< TImage >::m_OffsetTable[ImageDimension+1] [protected] |
Definition at line 289 of file itkImageConstIteratorWithIndex.h.
AccessorType itk::ImageConstIteratorWithIndex< TImage >::m_PixelAccessor [protected] |
Definition at line 297 of file itkImageConstIteratorWithIndex.h.
AccessorFunctorType itk::ImageConstIteratorWithIndex< TImage >::m_PixelAccessorFunctor [protected] |
Definition at line 298 of file itkImageConstIteratorWithIndex.h.
const InternalPixelType* itk::ImageConstIteratorWithIndex< TImage >::m_Position [protected] |
Definition at line 291 of file itkImageConstIteratorWithIndex.h.
Referenced by itk::ImageConstIteratorWithIndex< TImageType >::operator!=(), itk::ImageConstIteratorWithIndex< TImageType >::operator<(), itk::ImageConstIteratorWithIndex< TImageType >::operator<=(), itk::ImageConstIteratorWithIndex< TImageType >::operator==(), itk::ImageConstIteratorWithIndex< TImageType >::operator>(), and itk::ImageConstIteratorWithIndex< TImageType >::operator>=().
IndexType itk::ImageConstIteratorWithIndex< TImage >::m_PositionIndex [protected] |
Definition at line 281 of file itkImageConstIteratorWithIndex.h.
RegionType itk::ImageConstIteratorWithIndex< TImage >::m_Region [protected] |
Definition at line 287 of file itkImageConstIteratorWithIndex.h.
bool itk::ImageConstIteratorWithIndex< TImage >::m_Remaining [protected] |
Definition at line 295 of file itkImageConstIteratorWithIndex.h.