ITK  4.13.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | List of all members
itk::MultipleImageIterator< TIterator > Class Template Reference

#include <itkMultipleImageIterator.h>

+ Collaboration diagram for itk::MultipleImageIterator< TIterator >:

Detailed Description

template<typename TIterator>
class itk::MultipleImageIterator< TIterator >

An wrapper around image iterators to iterate over several images simultaneously All iterators must.

Definition at line 33 of file itkMultipleImageIterator.h.

Public Types

typedef IteratorType::ImageType ImageType
 
typedef TIterator IteratorType
 
typedef MultipleImageIterator Self
 

Public Member Functions

void AddIterator (const IteratorType &it)
 
void GoToBegin ()
 
Selfoperator++ ()
 
IteratorTypeoperator[] (const int i)
 
std::vector< IteratorTypem_Iterators
 
bool IsAtEnd ()
 
unsigned int Size () const
 

Member Typedef Documentation

template<typename TIterator >
typedef IteratorType::ImageType itk::MultipleImageIterator< TIterator >::ImageType

Definition at line 37 of file itkMultipleImageIterator.h.

template<typename TIterator >
typedef TIterator itk::MultipleImageIterator< TIterator >::IteratorType

Definition at line 36 of file itkMultipleImageIterator.h.

template<typename TIterator >
typedef MultipleImageIterator itk::MultipleImageIterator< TIterator >::Self

Definition at line 35 of file itkMultipleImageIterator.h.

Member Function Documentation

template<typename TIterator >
void itk::MultipleImageIterator< TIterator >::AddIterator ( const IteratorType it)
inline

Add a new iterator.

Definition at line 41 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

template<typename TIterator >
void itk::MultipleImageIterator< TIterator >::GoToBegin ( void  )
inline

Rewind all iterators.

Definition at line 51 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

template<typename TIterator >
bool itk::MultipleImageIterator< TIterator >::IsAtEnd ( void  )
inline

Check if the first iterator is at end. In debug mode, additionally check that at least one iterator is present and that all iterators' IsAtEnd() methods return the same thing

Definition at line 60 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

template<typename TIterator >
Self& itk::MultipleImageIterator< TIterator >::operator++ ( )
inline

Advance all iterators.

Definition at line 43 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

template<typename TIterator >
IteratorType& itk::MultipleImageIterator< TIterator >::operator[] ( const int  i)
inline

Access one of the iterators.

Definition at line 39 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

template<typename TIterator >
unsigned int itk::MultipleImageIterator< TIterator >::Size ( void  ) const
inline

Returns the number of iterators.

Definition at line 72 of file itkMultipleImageIterator.h.

References itk::MultipleImageIterator< TIterator >::m_Iterators.

Member Data Documentation

template<typename TIterator >
std::vector<IteratorType> itk::MultipleImageIterator< TIterator >::m_Iterators
protected

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