ITK  5.4.0
Insight Toolkit
Public Member Functions | Private Types | Private Attributes | List of all members
itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator Class Reference

#include <itkLabelObject.h>

Detailed Description

template<typename TLabel, unsigned int VImageDimension>
class itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator

A forward iterator over the lines of a LabelObject.

A forward iterator over the indexes of a LabelObject.

Definition at line 212 of file itkLabelObject.h.

Public Member Functions

 ConstLineIterator ()=default
 
 ConstLineIterator (const ConstLineIterator &iter)
 
 ConstLineIterator (const Self *lo)
 
const LineTypeGetLine () const
 
void GoToBegin ()
 
bool IsAtEnd () const
 
 ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (ConstLineIterator)
 
ConstLineIteratoroperator++ ()
 
ConstLineIterator operator++ (int)
 
ConstLineIteratoroperator= (const ConstLineIterator &iter)
 
bool operator== (const ConstLineIterator &iter) const
 

Private Types

using InternalIteratorType = typename LineContainerType::const_iterator
 
using LineContainerType = typename std::deque< LineType >
 

Private Attributes

InternalIteratorType m_Begin
 
InternalIteratorType m_End
 
InternalIteratorType m_Iterator
 

Member Typedef Documentation

◆ InternalIteratorType

template<typename TLabel, unsigned int VImageDimension>
using itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::InternalIteratorType = typename LineContainerType::const_iterator
private

Definition at line 283 of file itkLabelObject.h.

◆ LineContainerType

template<typename TLabel, unsigned int VImageDimension>
using itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::LineContainerType = typename std::deque<LineType>
private

Definition at line 282 of file itkLabelObject.h.

Constructor & Destructor Documentation

◆ ConstLineIterator() [1/3]

template<typename TLabel, unsigned int VImageDimension>
itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::ConstLineIterator ( )
default

◆ ConstLineIterator() [2/3]

template<typename TLabel, unsigned int VImageDimension>
itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::ConstLineIterator ( const Self lo)
inline

Definition at line 217 of file itkLabelObject.h.

◆ ConstLineIterator() [3/3]

template<typename TLabel, unsigned int VImageDimension>
itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::ConstLineIterator ( const ConstLineIterator iter)
inline

Member Function Documentation

◆ GetLine()

template<typename TLabel, unsigned int VImageDimension>
const LineType& itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::GetLine ( ) const
inline

Definition at line 241 of file itkLabelObject.h.

◆ GoToBegin()

template<typename TLabel, unsigned int VImageDimension>
void itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::GoToBegin ( )
inline

Definition at line 270 of file itkLabelObject.h.

◆ IsAtEnd()

template<typename TLabel, unsigned int VImageDimension>
bool itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::IsAtEnd ( ) const
inline

Definition at line 276 of file itkLabelObject.h.

◆ ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION()

template<typename TLabel, unsigned int VImageDimension>
itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION ( ConstLineIterator  )

◆ operator++() [1/2]

template<typename TLabel, unsigned int VImageDimension>
ConstLineIterator& itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::operator++ ( )
inline

Definition at line 255 of file itkLabelObject.h.

◆ operator++() [2/2]

template<typename TLabel, unsigned int VImageDimension>
ConstLineIterator itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::operator++ ( int  )
inline

Definition at line 247 of file itkLabelObject.h.

◆ operator=()

template<typename TLabel, unsigned int VImageDimension>
ConstLineIterator& itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::operator= ( const ConstLineIterator iter)
inline

◆ operator==()

template<typename TLabel, unsigned int VImageDimension>
bool itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::operator== ( const ConstLineIterator iter) const
inline

Member Data Documentation

◆ m_Begin

template<typename TLabel, unsigned int VImageDimension>
InternalIteratorType itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::m_Begin
private

◆ m_End

template<typename TLabel, unsigned int VImageDimension>
InternalIteratorType itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::m_End
private

◆ m_Iterator

template<typename TLabel, unsigned int VImageDimension>
InternalIteratorType itk::LabelObject< TLabel, VImageDimension >::ConstLineIterator::m_Iterator
private

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