18#ifndef itkImageConstIteratorWithIndex_h
19#define itkImageConstIteratorWithIndex_h
91template <
typename TImage>
102 static constexpr unsigned int ImageDimension = TImage::ImageDimension;
160 static constexpr unsigned int
163 return ImageDimension;
222 return m_PositionIndex;
238 m_Position = m_Image->GetBufferPointer() + m_Image->ComputeOffset(ind);
239 m_PositionIndex = ind;
247 return m_PixelAccessorFunctor.Get(*m_Position);
289 typename TImage::ConstWeakPointer m_Image{};
305 bool m_Remaining{
false };
312#ifndef ITK_MANUAL_INSTANTIATION
313# include "itkImageConstIteratorWithIndex.hxx"
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
const RegionType & GetRegion() const
bool operator==(const Self &it) const
const InternalPixelType * m_Position
bool operator>(const Self &it) const
typename TImage::AccessorFunctorType AccessorFunctorType
typename OffsetType::OffsetValueType OffsetValueType
Self & operator=(const Self &it)
ImageConstIteratorWithIndex(const TImage *ptr, const RegionType ®ion)
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Self)
typename SizeType::SizeValueType SizeValueType
static constexpr unsigned int GetImageDimension()
const PixelType & Value() const
ImageConstIteratorWithIndex(const Self &it)
virtual ~ImageConstIteratorWithIndex()=default
typename TImage::AccessorType AccessorType
const IndexType & GetIndex() const
typename TImage::PixelType PixelType
typename TImage::RegionType RegionType
bool IsAtReverseEnd() const
bool operator>=(const Self &it) const
typename IndexType::IndexValueType IndexValueType
typename PixelContainer::Pointer PixelContainerPointer
typename TImage::OffsetType OffsetType
ImageConstIteratorWithIndex()=default
typename TImage::SizeType SizeType
typename TImage::IndexType IndexType
typename TImage::InternalPixelType InternalPixelType
void SetIndex(const IndexType &ind)
typename TImage::PixelContainer PixelContainer
SmartPointer< Self > Pointer
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
bool operator<=(const Index< VDimension > &one, const Index< VDimension > &two)
unsigned long SizeValueType
bool operator<(const Index< VDimension > &one, const Index< VDimension > &two)