18 #ifndef itkLineIterator_h
19 #define itkLineIterator_h
55 template<
typename TImage >
67 static constexpr
unsigned int ImageIteratorDimension = TImage::ImageDimension;
94 const_cast< ImageType *
>( this->m_Image.GetPointer() )->
95 SetPixel(this->m_CurrentImageIndex, value);
104 return ( this->m_Image->GetPixel(this->m_CurrentImageIndex) );
109 Self & operator=(
const Self & it);
120 #ifndef ITK_MANUAL_INSTANTIATION
121 #include "itkLineIterator.hxx"
typename PixelContainer::Pointer PixelContainerPointer
typename TImage::PixelType PixelType
An iterator that walks a Bresenham line through an ND image with read-only access to pixels...
An iterator that walks a Bresenham line through an ND image with write access to pixels.
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
typename TImage::PixelContainer PixelContainer
typename TImage::OffsetType OffsetType
const PixelType & Value()
typename TImage::IndexType IndexType
typename TImage::RegionType RegionType
typename TImage::InternalPixelType InternalPixelType
void Set(const PixelType &value)
typename TImage::SizeType SizeType
ImageBaseType::RegionType RegionType
typename TImage::AccessorType AccessorType