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

#include <itkRLEImageRegionConstIterator.h>

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

Detailed Description

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

Definition at line 42 of file itkRLEImageRegionConstIterator.h.

Public Types

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

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
 

Static Public Attributes

static const unsigned int ImageIteratorDimension = VImageDimension
 
- Static Public Attributes inherited from itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >
static const unsigned int ImageIteratorDimension = VImageDimension
 

Friends

class ::MultiLabelMeshPipeline
 

Member Typedef Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::ImageType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::ImageType

Definition at line 68 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::IndexType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::IndexType

Index typedef support. While these were already typdef'ed in the superclass, they need to be redone here for this subclass to compile properly with gcc.Types inherited from the Superclass

Definition at line 64 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::InternalPixelType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::InternalPixelType

Definition at line 69 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::OffsetType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::OffsetType

Definition at line 66 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::PixelType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::PixelType

Definition at line 70 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::RegionType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType

Definition at line 67 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > > itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::Self

Standard class typedef.

Definition at line 49 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef Superclass::SizeType itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::SizeType

Definition at line 65 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
typedef ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > > itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::Superclass

Definition at line 50 of file itkRLEImageRegionConstIterator.h.

Constructor & Destructor Documentation

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

Default constructor. Needed since we provide a cast constructor.

Definition at line 76 of file itkRLEImageRegionConstIterator.h.

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

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

Constructor that can be used to cast from an ImageIterator to an ImageRegionConstIterator. 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 92 of file itkRLEImageRegionConstIterator.h.

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

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

Constructor that can be used to cast from an ImageConstIterator to an ImageRegionConstIterator. 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 103 of file itkRLEImageRegionConstIterator.h.

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

Member Function Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
virtual const char* itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented in itk::ImageScanlineConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
Self& itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::operator++ ( )
inline

Increment (prefix) the fastest moving dimension of the iterator's index. This operator will constrain the iterator within the region (i.e. the iterator will automatically wrap from the end of the row of the region to the beginning of the next row of the region) up until the iterator tries to moves past the last pixel of the region. Here, the iterator will be set to be one pixel past the end of the region.

See Also
operator++(int)

Definition at line 116 of file itkRLEImageRegionConstIterator.h.

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
Self& itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::operator-- ( )
inline

Decrement (prefix) the fastest moving dimension of the iterator's index. This operator will constrain the iterator within the region (i.e. the iterator will automatically wrap from the beginning of the row of the region to the end of the next row of the region) up until the iterator tries to moves past the first pixel of the region. Here, the iterator will be set to be one pixel past the beginning of the region.

See Also
operator--(int)

Definition at line 153 of file itkRLEImageRegionConstIterator.h.

Friends And Related Function Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
friend class ::MultiLabelMeshPipeline
friend

Definition at line 45 of file itkRLEImageRegionConstIterator.h.

Member Data Documentation

template<typename TPixel , unsigned int VImageDimension, typename CounterType >
const unsigned int itk::ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::ImageIteratorDimension = VImageDimension
static

Dimension of the image that the iterator walks. This constant is needed so functions that are templated over image iterator type (as opposed to being templated over pixel type and dimension) can have compile time access to the dimension of the image that the iterator walks.

Definition at line 56 of file itkRLEImageRegionConstIterator.h.


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