18 #ifndef __itkImageReverseConstIterator_h
19 #define __itkImageReverseConstIterator_h
86 template<
typename TImage >
98 TImage::ImageDimension);
183 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
185 ind[i] += ( size[i] - 1 );
219 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
221 regInd[i] += ( regSize[i] - 1 );
270 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
272 regInd[i] += ( regSize[i] - 1 );
284 {
return TImage::ImageDimension; }
398 #ifndef ITK_MANUAL_INSTANTIATION
399 #include "itkImageReverseConstIterator.hxx"
TImage::PixelType PixelType
const RegionType & GetRegion() const
const RegionType & GetRegion() const
const IndexType GetIndex()
Self & operator=(const ImageConstIterator< TImage > &it)
TImage::AccessorType AccessorType
TImage::PixelContainer PixelContainer
TImage::OffsetType OffsetType
static const unsigned int ImageIteratorDimension
const IndexType GetIndex() const
AccessorFunctorType m_PixelAccessorFunctor
const InternalPixelType * m_Buffer
virtual ~ImageReverseConstIterator()
unsigned long SizeValueType
ImageReverseConstIterator(const ImageType *ptr, const RegionType ®ion)
A multi-dimensional image iterator templated over image type.
TImage::SizeType SizeType
TImage::IndexType IndexType
bool operator!=(const Self &it) const
Self & operator=(const Self &it)
ImageType::ConstWeakPointer m_Image
const PixelType Get(void) const
ImageReverseConstIterator()
AccessorType m_PixelAccessor
ImageReverseConstIterator(const ImageConstIterator< TImage > &it)
TImage::InternalPixelType InternalPixelType
itkLegacyMacro(Self Begin() const)
static unsigned int GetImageIteratorDimension()
const PixelType & Value(void)
Multi-dimensional image iterator.
virtual void SetIndex(const IndexType &ind)
SizeValueType m_EndOffset
void Set(const PixelType &value) const
TImage::RegionType RegionType
SizeValueType m_BeginOffset
const PixelType & Value(void) const
ImageReverseConstIterator(const Self &it)
PixelContainer::Pointer PixelContainerPointer
TImage::AccessorFunctorType AccessorFunctorType
bool operator==(const Self &it) const
ImageReverseConstIterator Self
const ImageType * GetImage() const