18#ifndef itkImageReverseConstIterator_h
19#define itkImageReverseConstIterator_h
86template <
typename TImage>
187 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i)
189 ind[i] += (size[i] - 1);
223 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i)
225 regInd[i] += (regSize[i] - 1);
276 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i)
278 regInd[i] += (regSize[i] - 1);
292 return TImage::ImageDimension;
398 typename ImageType::ConstWeakPointer
m_Image{};
A multi-dimensional image iterator templated over image type.
const RegionType & GetRegion() const
const IndexType GetIndex() const
const ImageType * GetImage() const
typename TImage::PixelType PixelType
typename TImage::RegionType RegionType
typename TImage::PixelContainer PixelContainer
virtual void SetIndex(const IndexType &ind)
const PixelType & Value() const
const PixelType Get() const
ImageReverseConstIterator(const Self &it)
typename TImage::PixelType PixelType
ImageReverseConstIterator()
static unsigned int GetImageIteratorDimension()
ImageReverseConstIterator(const ImageConstIterator< TImage > &it)
static constexpr unsigned int ImageIteratorDimension
typename TImage::RegionType RegionType
AccessorFunctorType m_PixelAccessorFunctor
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(Self)
typename TImage::AccessorFunctorType AccessorFunctorType
typename TImage::SizeType SizeType
ImageReverseConstIterator Self
typename TImage::OffsetType OffsetType
ImageType::ConstWeakPointer m_Image
typename TImage::IndexType IndexType
Self & operator=(const Self &it)
Self & operator=(const ImageConstIterator< TImage > &it)
SizeValueType m_BeginOffset
virtual ~ImageReverseConstIterator()=default
typename TImage::AccessorType AccessorType
const IndexType GetIndex()
const InternalPixelType * m_Buffer
const RegionType & GetRegion() const
const PixelType & Value()
typename PixelContainer::Pointer PixelContainerPointer
AccessorType m_PixelAccessor
typename TImage::InternalPixelType InternalPixelType
bool operator==(const Self &it) const
ImageReverseConstIterator(const ImageType *ptr, const RegionType ®ion)
SizeValueType m_EndOffset
void Set(const PixelType &value) const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType