|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageConstIteratorWithIndex_h
19 #define itkImageConstIteratorWithIndex_h
91 template <
typename TImage>
102 static constexpr
unsigned int ImageDimension = TImage::ImageDimension;
132 using AccessorType =
typename TImage::AccessorType;
133 using AccessorFunctorType =
typename TImage::AccessorFunctorType;
157 operator=(
const Self & it);
163 return ImageDimension;
229 return m_PositionIndex;
245 m_Position = m_Image->GetBufferPointer() + m_Image->ComputeOffset(ind);
246 m_PositionIndex = ind;
254 return m_PixelAccessorFunctor.Get(*m_Position);
319 #ifndef ITK_MANUAL_INSTANTIATION
320 # include "itkImageConstIteratorWithIndex.hxx"
bool operator>(const Self &it) const
AccessorFunctorType m_PixelAccessorFunctor
typename IndexType::IndexValueType IndexValueType
bool operator<(const Index< VDimension > &one, const Index< VDimension > &two)
typename TImageType ::SizeType SizeType
bool operator<=(const Index< VDimension > &one, const Index< VDimension > &two)
const RegionType & GetRegion() const
TImage::ConstWeakPointer m_Image
static unsigned int GetImageDimension()
typename PixelContainer::Pointer PixelContainerPointer
AccessorType m_PixelAccessor
bool operator!=(const Self &it) const
typename OffsetType::OffsetValueType OffsetValueType
ImageBaseType::SizeType SizeType
const PixelType & Value() const
const IndexType & GetIndex() const
typename TImageType ::PixelType PixelType
typename TImageType ::IndexType IndexType
typename TImageType ::InternalPixelType InternalPixelType
void SetIndex(const IndexType &ind)
ImageBaseType::IndexType IndexType
bool operator>=(const Self &it) const
ImageBaseType::RegionType RegionType
const InternalPixelType * m_Position
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
bool IsAtReverseEnd() const
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
signed long OffsetValueType
const InternalPixelType * m_End
signed long IndexValueType
const InternalPixelType * m_Begin
IndexType m_PositionIndex
bool operator==(const Self &it) const
typename TImageType ::PixelContainer PixelContainer
typename SizeType::SizeValueType SizeValueType
unsigned long SizeValueType
typename TImageType ::OffsetType OffsetType