18 #ifndef __itkImageIterator_h
19 #define __itkImageIterator_h
64 template<
typename TImage >
76 itkStaticConstMacro(ImageIteratorDimension,
unsigned int,
77 TImage::ImageDimension);
111 Self & operator=(
const Self & it);
118 this->m_PixelAccessorFunctor.Set(
119 *( const_cast< InternalPixelType * >( this->m_Buffer ) + this->m_Offset ), value);
129 return *(
const_cast< InternalPixelType *
>( this->m_Buffer ) + this->m_Offset );
135 itkLegacyMacro(Self Begin(
void)
const);
140 itkLegacyMacro(Self End(
void)
const);
147 return const_cast< ImageType *
>( this->m_Image.GetPointer() );
161 #define ITK_TEMPLATE_ImageIterator(_, EXPORT, TypeX, TypeY) \
164 _( 1 ( class EXPORT ImageIterator< ITK_TEMPLATE_1 TypeX > ) ) \
165 namespace Templates \
167 typedef ImageIterator< ITK_TEMPLATE_1 TypeX > \
168 ImageIterator##TypeY; \
172 #if ITK_TEMPLATE_EXPLICIT
173 #include "Templates/itkImageIterator+-.h"
177 #include "itkImageIterator.hxx"