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;
186 operator<=(
const Self & it)
const
196 operator<(
const Self & it)
const
227 return m_PositionIndex;
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);
269 itkLegacyMacro(Self End(
void)
const);
272 void GoToReverseBegin();
316 #ifndef ITK_MANUAL_INSTANTIATION
317 #include "itkImageConstIteratorWithIndex.hxx"
const InternalPixelType * m_End
TImage::InternalPixelType InternalPixelType
static unsigned int GetImageDimension()
bool operator==(const Self &it) const
TImage::SizeType SizeType
AccessorFunctorType m_PixelAccessorFunctor
PixelType Get(void) const
TImage::AccessorType AccessorType
signed long OffsetValueType
signed long IndexValueType
OffsetType::OffsetValueType OffsetValueType
const IndexType & GetIndex() const
void SetIndex(const IndexType &ind)
TImage::PixelContainer PixelContainer
unsigned long SizeValueType
const InternalPixelType * m_Position
AccessorType m_PixelAccessor
TImage::ConstWeakPointer m_Image
TImage::OffsetType OffsetType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
TImage::IndexType IndexType
const PixelType & Value(void) const
TImage::RegionType RegionType
ImageConstIteratorWithIndex Self
TImage::PixelType PixelType
IndexType m_PositionIndex
IndexType::IndexValueType IndexValueType
TImage::AccessorFunctorType AccessorFunctorType
PixelContainer::Pointer PixelContainerPointer
bool operator>=(const Self &it) const
const RegionType & GetRegion() const
virtual ~ImageConstIteratorWithIndex()
ImageBaseType::SizeType SizeType
bool operator>(const Self &it) const
bool operator!=(const Self &it) const
bool IsAtReverseEnd(void) const
SizeType::SizeValueType SizeValueType
const InternalPixelType * m_Begin
ImageBaseType::IndexType IndexType