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

#include <itkRLEImageRegionIterator.h>

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

Detailed Description

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

Definition at line 115 of file itkRLEImageRegionIterator.h.

Public Types

typedef RLEImage< TPixel,
VImageDimension, CounterType > 
ImageType
 
typedef
itk::ImageConstIterator
< RLEImage< TPixel,
VImageDimension, CounterType >
>::RegionType 
RegionType
 
- Public Types inherited from itk::ImageRegionConstIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >
typedef RLEImage< TPixel,
VImageDimension, CounterType > 
ImageType
 
typedef
itk::ImageConstIterator
< RLEImage< TPixel,
VImageDimension, CounterType >
>::RegionType 
RegionType
 
- Public Types inherited from itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
typedef Superclass::ImageType ImageType
 
typedef Superclass::IndexType IndexType
 
typedef
Superclass::InternalPixelType 
InternalPixelType
 
typedef Superclass::OffsetType OffsetType
 
typedef Superclass::PixelType PixelType
 
typedef Superclass::RegionType RegionType
 
typedef
ImageRegionConstIterator
< RLEImage< TPixel,
VImageDimension, CounterType > > 
Self
 
typedef Superclass::SizeType SizeType
 
typedef ImageConstIterator
< RLEImage< TPixel,
VImageDimension, CounterType > > 
Superclass
 
- Public Types inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
typedef ImageRegionIterator
< BufferType
BufferIterator
 
typedef ImageType::BufferType BufferType
 
typedef RLEImage< TPixel,
VImageDimension, CounterType > 
ImageType
 
typedef ImageType::IndexType IndexType
 
typedef ImageType::IndexValueType IndexValueType
 
typedef
ImageType::InternalPixelType 
InternalPixelType
 
typedef ImageType::OffsetType OffsetType
 
typedef ImageType::PixelType PixelType
 
typedef ImageType::RegionType RegionType
 
typedef ImageType::RLLine RLLine
 
typedef ImageConstIterator Self
 
typedef ImageType::SizeType SizeType
 

Public Member Functions

 ImageRegionIteratorWithIndex ()
 
 ImageRegionIteratorWithIndex (ImageType *ptr, const RegionType &region)
 
 ImageRegionIteratorWithIndex (const ImageIterator< ImageType > &it)
 
void Set (const TPixel &value) const
 
 ImageRegionIteratorWithIndex (const ImageConstIterator< ImageType > &it)
 
- Public Member Functions inherited from itk::ImageRegionConstIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >
void GoToReverseBegin ()
 
 ImageRegionConstIteratorWithIndex ()
 
 ImageRegionConstIteratorWithIndex (const ImageType *ptr, const RegionType &region)
 
bool IsAtReverseEnd ()
 
 ImageRegionConstIteratorWithIndex (const ImageIterator< ImageType > &it)
 
- Public Member Functions inherited from itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
virtual const char * GetNameOfClass () const
 
 ImageRegionConstIterator ()
 
 ImageRegionConstIterator (const ImageType *ptr, const RegionType &region)
 
 ImageRegionConstIterator (const ImageIterator< ImageType > &it)
 
 ImageRegionConstIterator (const ImageConstIterator< ImageType > &it)
 
Selfoperator++ ()
 
Selfoperator-- ()
 
- 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::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
static const unsigned int ImageIteratorDimension = VImageDimension
 
- Static Public Attributes inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
static const 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 >
typedef RLEImage< TPixel, VImageDimension, CounterType > itk::ImageRegionIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageType

Definition at line 119 of file itkRLEImageRegionIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType itk::ImageRegionIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType

Definition at line 121 of file itkRLEImageRegionIterator.h.

Constructor & Destructor Documentation

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

Default constructor. Needed since we provide a cast constructor.

Definition at line 124 of file itkRLEImageRegionIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
itk::ImageRegionIteratorWithIndex< RLEImage< TPixel, VImageDimension, CounterType > >::ImageRegionIteratorWithIndex ( 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 130 of file itkRLEImageRegionIterator.h.

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

Constructor that can be used to cast from an ImageIterator to an ImageRegionIteratorWithIndex. Many routines return an ImageIterator, but for a particular task, you may want an ImageRegionConstIterator. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageRegionConstIterator.

Definition at line 150 of file itkRLEImageRegionIterator.h.

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

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

Constructor that can be used to cast from an ImageConstIterator to an ImageRegionIteratorWithIndex. Many routines return an ImageIterator, but for a particular task, you may want an ImageRegionConstIterator. Rather than provide overloaded APIs that return different types of Iterators, itk returns ImageIterators and uses constructors to cast from an ImageIterator to a ImageRegionIteratorWithIndex.

Definition at line 161 of file itkRLEImageRegionIterator.h.

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

Member Function Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
void itk::ImageRegionIteratorWithIndex< 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 137 of file itkRLEImageRegionIterator.h.

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


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