18 #ifndef __itkImageConstIteratorWithIndex_h
19 #define __itkImageConstIteratorWithIndex_h
91 template<
typename TImage >
102 itkStaticConstMacro(ImageDimension,
unsigned int, TImage::ImageDimension);
150 const RegionType & region);
157 Self & operator=(
const Self & it);
162 return ImageDimension;
177 operator==(
const Self & it)
const
186 operator<=(
const Self & it)
const
196 operator<(
const Self & it)
const
206 operator>=(
const Self & it)
const
216 operator>(
const Self & it)
const
227 return m_PositionIndex;
232 const RegionType & GetRegion()
const
241 m_Position = m_Image->GetBufferPointer() + m_Image->ComputeOffset(ind);
242 m_PositionIndex = ind;
249 return m_PixelAccessorFunctor.Get(*m_Position);
262 itkLegacyMacro(Self Begin(
void)
const);
265 void GoToBegin(
void);
269 itkLegacyMacro(Self End(
void)
const);
272 void GoToReverseBegin(
void);
275 bool IsAtReverseEnd(
void)
const
281 bool IsAtEnd(
void)
const
317 #define ITK_TEMPLATE_ImageConstIteratorWithIndex(_, EXPORT, TypeX, TypeY) \
320 _( 1 ( class EXPORT ImageConstIteratorWithIndex< ITK_TEMPLATE_1 TypeX > ) ) \
321 namespace Templates \
323 typedef ImageConstIteratorWithIndex< ITK_TEMPLATE_1 TypeX > ImageConstIteratorWithIndex##TypeY; \
327 #if ITK_TEMPLATE_EXPLICIT
330 #include "Templates/itkImageConstIteratorWithIndex+-.h"
334 #include "itkImageConstIteratorWithIndex.hxx"