ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | List of all members
itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > > Class Template Reference

#include <itkRLEImageIterator.h>

+ Inheritance diagram for itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >:
+ Collaboration diagram for itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >:

Detailed Description

template<typename TPixel, unsigned int VImageDimension, typename CounterType>
class itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >

Definition at line 134 of file itkRLEImageIterator.h.

Public Types

using ImageType = RLEImage< TPixel, VImageDimension, CounterType >
 
using RegionType = typename itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType
 
- Public Types inherited from itk::ImageConstIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >
using ImageType = RLEImage< TPixel, VImageDimension, CounterType >
 
using RegionType = typename itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType
 
- Public Types inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
using BufferIterator = ImageRegionIterator< BufferType >
 
using BufferType = typename ImageType::BufferType
 
using ImageType = RLEImage< TPixel, VImageDimension, CounterType >
 
using IndexType = typename ImageType::IndexType
 
using IndexValueType = typename ImageType::IndexValueType
 
using InternalPixelType = typename ImageType::InternalPixelType
 
using OffsetType = typename ImageType::OffsetType
 
using PixelType = typename ImageType::PixelType
 
using RegionType = typename ImageType::RegionType
 
using RLLine = typename ImageType::RLLine
 
using Self = ImageConstIterator
 
using SizeType = typename ImageType::SizeType
 

Public Member Functions

 ImageIteratorWithIndex ()
 
 ImageIteratorWithIndex (const ImageIteratorWithIndex &it)
 
 ImageIteratorWithIndex (const ImageType *ptr, const RegionType &region)
 
void Set (const TPixel &value) const
 
ImageTypeGetImage () const
 
- Public Member Functions inherited from itk::ImageConstIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >
void GoToReverseBegin ()
 
 ImageConstIteratorWithIndex ()
 
 ImageConstIteratorWithIndex (const ImageConstIteratorWithIndex &it)
 
bool IsAtReverseEnd ()
 
 ImageConstIteratorWithIndex (const ImageType *ptr, const RegionType &region)
 
- Public Member Functions inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
PixelType Get (void) const
 
const ImageTypeGetImage () const
 
const IndexType GetIndex () const
 
const RegionType GetRegion () const
 
bool IsAtBegin (void) const
 
bool IsAtEnd (void) const
 
 itkTypeMacroNoParent (ImageConstIterator)
 
const PixelTypeValue (void) const
 
virtual ~ImageConstIterator ()
 
 ImageConstIterator ()
 
 ImageConstIterator (const Self &it)
 
 ImageConstIterator (const ImageType *ptr, const RegionType &region)
 
bool operator< (const Self &it) const
 
bool operator>= (const Self &it) const
 
bool operator> (const Self &it) const
 
virtual void SetIndex (const IndexType &ind)
 
void GoToBegin ()
 
void GoToEnd ()
 
Selfoperator= (const Self &it)
 
virtual void SetRegion (const RegionType &region)
 
bool operator!= (const Self &it) const
 
bool operator== (const Self &it) const
 
bool operator<= (const Self &it) const
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
static unsigned int GetImageIteratorDimension ()
 
- Static Public Attributes inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
static constexpr unsigned int ImageIteratorDimension = VImageDimension
 
- Protected Member Functions inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
virtual void SetIndexInternal (const IndexValueType ind0)
 
- Protected Attributes inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
ImageType::ConstWeakPointer m_Image
 
IndexValueType m_Index0
 
const RLLinem_RunLengthLine
 
SizeValueType m_RealIndex
 
IndexValueType m_SegmentRemainder
 
IndexValueType m_BeginIndex0
 
IndexValueType m_EndIndex0
 
BufferIterator m_BI
 
BufferType::Pointer m_Buffer
 

Member Typedef Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
using itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageType = RLEImage< TPixel, VImageDimension, CounterType >

Definition at line 138 of file itkRLEImageIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
using itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType = typename itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType

Definition at line 140 of file itkRLEImageIterator.h.

Constructor & Destructor Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageIteratorWithIndex ( )
inline

Default Constructor. Need to provide a default constructor since we provide a copy constructor.

Definition at line 144 of file itkRLEImageIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageIteratorWithIndex ( const ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > > &  it)
inline

Copy Constructor. The copy constructor is provided to make sure the handle to the image is properly reference counted.

Definition at line 150 of file itkRLEImageIterator.h.

References itk::ImageIterator< TImage >::operator=().

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageIteratorWithIndex ( const ImageType ptr,
const RegionType region 
)
inline

Constructor establishes an iterator to walk a particular image and a particular region of that image.

Definition at line 157 of file itkRLEImageIterator.h.

Member Function Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
ImageType* itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::GetImage ( ) const
inline

Get the image that this iterator walks.

Definition at line 173 of file itkRLEImageIterator.h.

References itk::ImageConstIteratorWithIndex< TImage >::m_Image.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
void itk::ImageIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::Set ( const TPixel &  value) const
inline

Set the pixel value. Changing the RLE structure invalidates all other iterators (except this one).

Definition at line 164 of file itkRLEImageIterator.h.

References itk::ImageConstIteratorWithIndex< TImage >::m_Image.


The documentation for this class was generated from the following file: