ITK
5.0.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.
Public Types | |
using | AccessorType = typename Superclass::AccessorType |
using | ImageType = typename Superclass::ImageType |
using | IndexType = typename Superclass::IndexType |
using | InternalPixelType = typename Superclass::InternalPixelType |
using | OffsetType = typename Superclass::OffsetType |
using | PixelContainer = typename Superclass::PixelContainer |
using | PixelContainerPointer = typename Superclass::PixelContainerPointer |
using | PixelType = typename Superclass::PixelType |
using | RegionType = typename Superclass::RegionType |
using | Self = ImageLinearIteratorWithIndex |
using | SizeType = typename Superclass::SizeType |
using | Superclass = ImageLinearConstIteratorWithIndex< TImage > |
Public Types inherited from itk::ImageLinearConstIteratorWithIndex< TImage > | |
using | ImageType = TImage |
using | IndexType = typename TImage::IndexType |
using | PixelContainer = typename TImage::PixelContainer |
using | PixelContainerPointer = typename PixelContainer::Pointer |
using | RegionType = typename TImage::RegionType |
using | Self = ImageLinearConstIteratorWithIndex |
using | Superclass = ImageConstIteratorWithIndex< TImage > |
Public Types inherited from itk::ImageConstIteratorWithIndex< TImage > | |
using | AccessorFunctorType = typename TImage::AccessorFunctorType |
using | AccessorType = typename TImage::AccessorType |
using | ImageType = TImage |
using | IndexType = typename TImage::IndexType |
using | IndexValueType = typename IndexType::IndexValueType |
using | InternalPixelType = typename TImage::InternalPixelType |
using | OffsetType = typename TImage::OffsetType |
using | OffsetValueType = typename OffsetType::OffsetValueType |
using | PixelContainer = typename TImage::PixelContainer |
using | PixelContainerPointer = typename PixelContainer::Pointer |
using | PixelType = typename TImage::PixelType |
using | RegionType = typename TImage::RegionType |
using | Self = ImageConstIteratorWithIndex |
using | SizeType = typename TImage::SizeType |
using | SizeValueType = typename SizeType::SizeValueType |
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 constexpr 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 |
using itk::ImageLinearIteratorWithIndex< TImage >::AccessorType = typename Superclass::AccessorType |
Definition at line 84 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::ImageType = typename Superclass::ImageType |
Definition at line 79 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::IndexType = typename Superclass::IndexType |
Types inherited from the Superclass
Definition at line 75 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::InternalPixelType = typename Superclass::InternalPixelType |
Definition at line 82 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::OffsetType = typename Superclass::OffsetType |
Definition at line 77 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::PixelContainer = typename Superclass::PixelContainer |
Definition at line 80 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::PixelContainerPointer = typename Superclass::PixelContainerPointer |
Definition at line 81 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::PixelType = typename Superclass::PixelType |
Definition at line 83 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::RegionType = typename Superclass::RegionType |
Definition at line 78 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::Self = ImageLinearIteratorWithIndex |
Standard class type aliases.
Definition at line 71 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::SizeType = typename Superclass::SizeType |
Definition at line 76 of file itkImageLinearIteratorWithIndex.h.
using itk::ImageLinearIteratorWithIndex< TImage >::Superclass = ImageLinearConstIteratorWithIndex< TImage > |
Definition at line 72 of file itkImageLinearIteratorWithIndex.h.
|
default |
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.