18 #ifndef itkLineIterator_h 19 #define itkLineIterator_h 55 template<
typename TImage >
68 TImage::ImageDimension);
89 void Set(
const PixelType & value)
95 const_cast< ImageType *
>( this->
m_Image.GetPointer() )->
105 return ( this->
m_Image->GetPixel(this->m_CurrentImageIndex) );
113 LineIterator(ImageType *imagePtr,
const IndexType & firstIndex,
114 const IndexType & lastIndex);
121 #ifndef ITK_MANUAL_INSTANTIATION 122 #include "itkLineIterator.hxx" LineConstIterator< TImage > Superclass
Superclass::PixelType PixelType
TImage::PixelType PixelType
PixelContainer::Pointer PixelContainerPointer
Superclass::AccessorType AccessorType
TImage::RegionType RegionType
Superclass::RegionType RegionType
An iterator that walks a Bresenham line through an ND image with read-only access to pixels...
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TImage::AccessorType AccessorType
Superclass::PixelContainer PixelContainer
TImage::OffsetType OffsetType
Superclass::SizeType SizeType
Self & operator=(const Self &it)
Superclass::OffsetType OffsetType
An iterator that walks a Bresenham line through an ND image with write access to pixels.
ImageType::ConstWeakPointer m_Image
TImage::IndexType IndexType
Superclass::ImageType ImageType
TImage::SizeType SizeType
Superclass::InternalPixelType InternalPixelType
TImage::InternalPixelType InternalPixelType
TImage::PixelContainer PixelContainer
void Set(const PixelType &value)
Superclass::PixelContainerPointer PixelContainerPointer
LineIterator(ImageType *imagePtr, const IndexType &firstIndex, const IndexType &lastIndex)
const PixelType & Value(void)
IndexType m_CurrentImageIndex
Superclass::IndexType IndexType
static const unsigned int ImageIteratorDimension