18#ifndef itkImageIterator_h
19#define itkImageIterator_h
64template <
typename TImage>
77 static constexpr unsigned int ImageIteratorDimension = TImage::ImageDimension;
111 this->m_PixelAccessorFunctor.Set(*(
const_cast<InternalPixelType *
>(this->m_Buffer) + this->m_Offset), value);
131 return const_cast<ImageType *
>(this->m_Image.GetPointer());
144#ifndef ITK_MANUAL_INSTANTIATION
145# include "itkImageIterator.hxx"
A multi-dimensional image iterator templated over image type.
typename TImage::PixelContainer PixelContainer
typename TImage::OffsetType OffsetType
typename TImage::InternalPixelType InternalPixelType
typename PixelContainer::Pointer PixelContainerPointer
typename TImage::AccessorType AccessorType
typename TImage::RegionType RegionType
typename TImage::PixelType PixelType
A multi-dimensional iterator templated over image type.
Self & operator=(const ImageConstIterator< TImage > &it)
ImageIterator(const ImageConstIterator< TImage > &it)
ImageIterator(TImage *ptr, const RegionType ®ion)
~ImageIterator() override=default
ImageType * GetImage() const
ITK_DEFAULT_COPY_AND_MOVE(ImageIterator)
void Set(const PixelType &value) const
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....