18 #ifndef itkImageReverseConstIterator_h 19 #define itkImageReverseConstIterator_h 86 template<
typename TImage >
98 TImage::ImageDimension);
184 IndexType ind(
m_Region.GetIndex() );
185 SizeType size(
m_Region.GetSize() );
186 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
188 ind[i] += ( size[i] - 1 );
220 IndexType regInd(
m_Region.GetIndex() );
221 SizeType regSize(
m_Region.GetSize() );
222 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
224 regInd[i] += ( regSize[i] - 1 );
271 IndexType regInd(
m_Region.GetIndex() );
272 SizeType regSize(
m_Region.GetSize() );
273 for (
unsigned int i = 0; i < TImage::ImageDimension; ++i )
275 regInd[i] += ( regSize[i] - 1 );
287 {
return TImage::ImageDimension; }
325 const PixelType
Get(
void)
const 329 void Set(
const PixelType & value)
const 401 #ifndef ITK_MANUAL_INSTANTIATION 402 #include "itkImageReverseConstIterator.hxx" TImage::PixelType PixelType
const RegionType & GetRegion() const
const RegionType & GetRegion() const
const IndexType GetIndex()
itkTypeMacroNoParent(ImageReverseConstIterator)
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
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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