ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageLinearIteratorWithIndex.h>
A multi-dimensional image iterator that visits image pixels within a region in a "scan-line" order.
This iterator is a subclass of itk::ImageLinearConstIteratorWithIndex that adds write-access functionality. Please see itk::ImageLinearConstIteratorWithIndex for more information.
Definition at line 67 of file itkImageLinearIteratorWithIndex.h.
Protected Member Functions | |
ImageLinearIteratorWithIndex (const ImageLinearConstIteratorWithIndex< TImage > &it) | |
Self & | operator= (const ImageLinearConstIteratorWithIndex< TImage > &it) |
Additional Inherited Members | |
Static Public Member Functions inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static unsigned int | GetImageDimension () |
Static Public Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
static const unsigned int | ImageDimension = TImage::ImageDimension |
Protected Attributes inherited from itk::ImageConstIteratorWithIndex< TImage > | |
const InternalPixelType * | m_Begin |
IndexType | m_BeginIndex |
const InternalPixelType * | m_End |
IndexType | m_EndIndex |
TImage::ConstWeakPointer | m_Image |
OffsetValueType | m_OffsetTable [ImageDimension+1] |
AccessorType | m_PixelAccessor |
AccessorFunctorType | m_PixelAccessorFunctor |
const InternalPixelType * | m_Position |
IndexType | m_PositionIndex |
RegionType | m_Region |
bool | m_Remaining |
typedef Superclass::AccessorType itk::ImageLinearIteratorWithIndex< TImage >::AccessorType |
Definition at line 84 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::ImageType itk::ImageLinearIteratorWithIndex< TImage >::ImageType |
Definition at line 79 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::IndexType itk::ImageLinearIteratorWithIndex< TImage >::IndexType |
Types inherited from the Superclass
Definition at line 75 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::InternalPixelType itk::ImageLinearIteratorWithIndex< TImage >::InternalPixelType |
Definition at line 82 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::OffsetType itk::ImageLinearIteratorWithIndex< TImage >::OffsetType |
Definition at line 77 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::PixelContainer itk::ImageLinearIteratorWithIndex< TImage >::PixelContainer |
Definition at line 80 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::PixelContainerPointer itk::ImageLinearIteratorWithIndex< TImage >::PixelContainerPointer |
Definition at line 81 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::PixelType itk::ImageLinearIteratorWithIndex< TImage >::PixelType |
Definition at line 83 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::RegionType itk::ImageLinearIteratorWithIndex< TImage >::RegionType |
Definition at line 78 of file itkImageLinearIteratorWithIndex.h.
typedef ImageLinearIteratorWithIndex itk::ImageLinearIteratorWithIndex< TImage >::Self |
Standard class typedefs.
Definition at line 71 of file itkImageLinearIteratorWithIndex.h.
typedef Superclass::SizeType itk::ImageLinearIteratorWithIndex< TImage >::SizeType |
Definition at line 76 of file itkImageLinearIteratorWithIndex.h.
typedef ImageLinearConstIteratorWithIndex< TImage > itk::ImageLinearIteratorWithIndex< TImage >::Superclass |
Definition at line 72 of file itkImageLinearIteratorWithIndex.h.
itk::ImageLinearIteratorWithIndex< TImage >::ImageLinearIteratorWithIndex | ( | ) |
Default constructor. Needed since we provide a cast constructor.
itk::ImageLinearIteratorWithIndex< TImage >::ImageLinearIteratorWithIndex | ( | ImageType * | ptr, |
const RegionType & | region | ||
) |
Constructor establishes an iterator to walk a particular image and a particular region of that image.
itk::ImageLinearIteratorWithIndex< TImage >::ImageLinearIteratorWithIndex | ( | const ImageIteratorWithIndex< TImage > & | it | ) |
Constructor that can be used to cast from an ImageIterator to an ImageLinearIteratorWithIndex. Many routines return an ImageIterator, but for a particular task, you may want an ImageLinearIteratorWithIndex. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageLinearIteratorWithIndex.
|
protected |
the construction from a const iterator is declared protected in order to enforce const correctness.
|
protected |
the construction from a const iterator is declared protected in order to enforce const correctness.
|
inline |
Set the pixel value
Definition at line 102 of file itkImageLinearIteratorWithIndex.h.
|
inline |
Return a reference to the pixel. This method will provide the fastest access to pixel data, but it will NOT support ImageAdaptors.
Definition at line 108 of file itkImageLinearIteratorWithIndex.h.