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);
160 static unsigned int GetImageDimension()
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
316 #ifndef ITK_MANUAL_INSTANTIATION
317 #include "itkImageConstIteratorWithIndex.hxx"