18#ifndef itkImageConstIterator_h
19#define itkImageConstIterator_h
83template <
typename TImage>
210 if (region.GetNumberOfPixels() > 0)
213 itkAssertOrThrowMacro((bufferedRegion.IsInside(
m_Region)),
214 "Region " <<
m_Region <<
" is outside of buffered region " << bufferedRegion);
227 if (
m_Region.GetNumberOfPixels() == 0)
234 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i)
247 return TImage::ImageDimension;
A multi-dimensional image iterator templated over image type.
typename TImage::IndexType IndexType
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Self)
const RegionType & GetRegion() const
TImage::ConstWeakPointer m_Image
const PixelType & Value() const
virtual ~ImageConstIterator()=default
bool operator==(const Self &it) const
typename TImage::PixelContainer PixelContainer
bool operator>(const Self &it) const
virtual void SetIndex(const IndexType &ind)
typename TImage::SizeType SizeType
bool operator<=(const Self &it) const
typename TImage::OffsetType OffsetType
const IndexType GetIndex() const
virtual void SetRegion(const RegionType ®ion)
typename TImage::InternalPixelType InternalPixelType
typename PixelContainer::Pointer PixelContainerPointer
OffsetValueType m_BeginOffset
bool operator<(const Self &it) const
const ImageType * GetImage() const
typename TImage::AccessorType AccessorType
typename TImage::AccessorFunctorType AccessorFunctorType
typename TImage::RegionType RegionType
OffsetValueType m_EndOffset
static unsigned int GetImageIteratorDimension()
AccessorFunctorType m_PixelAccessorFunctor
Self & operator=(const Self &it)
const InternalPixelType * m_Buffer
ImageConstIterator(const Self &it)
AccessorType m_PixelAccessor
ImageConstIterator(const ImageType *ptr, const RegionType ®ion)
typename TImage::PixelType PixelType
bool operator>=(const Self &it) const
static constexpr unsigned int ImageIteratorDimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....