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