18 #ifndef __itkLineConstIterator_h
19 #define __itkLineConstIterator_h
55 template<
class TImage >
67 itkStaticConstMacro(ImageIteratorDimension,
unsigned int,
68 TImage::ImageDimension);
111 static unsigned int GetImageIteratorDimension()
113 return TImage::ImageDimension;
119 return m_CurrentImageIndex;
125 return m_Image->GetPixel(m_CurrentImageIndex);
142 Self & operator=(
const Self & it);
145 LineConstIterator(
const ImageType *imagePtr,
const IndexType & firstIndex,
const IndexType & lastIndex);
191 #define ITK_TEMPLATE_LineConstIterator(_, EXPORT, TypeX, TypeY) \
194 _( 1 ( class EXPORT LineConstIterator< ITK_TEMPLATE_1 TypeX > ) ) \
195 namespace Templates \
197 typedef LineConstIterator< ITK_TEMPLATE_1 TypeX > \
198 LineConstIterator##TypeY; \
202 #if ITK_TEMPLATE_EXPLICIT
203 #include "Templates/itkLineConstIterator+-.h"
207 #include "itkLineConstIterator.hxx"