18 #ifndef itkLineConstIterator_h
19 #define itkLineConstIterator_h
55 template<
typename TImage >
67 static constexpr
unsigned int ImageIteratorDimension = TImage::ImageDimension;
112 return TImage::ImageDimension;
118 return m_CurrentImageIndex;
124 return m_Image->GetPixel(m_CurrentImageIndex);
141 Self & operator=(
const Self & it);
189 #ifndef ITK_MANUAL_INSTANTIATION
190 #include "itkLineConstIterator.hxx"
typename PixelContainer::Pointer PixelContainerPointer
typename TImage::PixelType PixelType
const IndexType GetIndex()
An iterator that walks a Bresenham line through an ND image with read-only access to pixels...
typename TImage::SpacingType SpacingType
typename TImage::PointType PointType
IndexType m_IncrementError
static unsigned int GetImageIteratorDimension()
ImageBaseType::SizeType SizeType
ImageType::ConstWeakPointer m_Image
ImageBaseType::IndexType IndexType
typename TImage::PixelContainer PixelContainer
typename TImage::OffsetType OffsetType
typename TImage::IndexType IndexType
unsigned int m_MainDirection
typename TImage::RegionType RegionType
typename TImage::InternalPixelType InternalPixelType
typename TImage::SizeType SizeType
IndexType m_CurrentImageIndex
const PixelType Get() const
ImageBaseType::PointType PointType
IndexType m_OverflowIncrement
IndexType m_AccumulateError
IndexType m_ReduceErrorAfterIncrement
ImageBaseType::RegionType RegionType
typename TImage::AccessorType AccessorType