ITK  5.0.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

using ImageType = typename IteratorType::ImageType
 
using IteratorType = TIterator
 
using Self = MultipleImageIterator
 

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 >
using itk::MultipleImageIterator< TIterator >::ImageType = typename IteratorType::ImageType

Definition at line 37 of file itkMultipleImageIterator.h.

template<typename TIterator >
using itk::MultipleImageIterator< TIterator >::IteratorType = TIterator

Definition at line 36 of file itkMultipleImageIterator.h.

template<typename TIterator >
using itk::MultipleImageIterator< TIterator >::Self = MultipleImageIterator

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 ( )
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 ( ) 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: