ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::ReflectiveImageRegionConstIterator< TImage > Class Template Reference

#include <itkReflectiveImageRegionIterator.h>

Detailed Description

template<typename TImage>
class itk::ReflectiveImageRegionConstIterator< TImage >

Read-only ReflectiveImageRegionIterator: ReflectiveImageRegionConstIterator<TImage> behaves as ReflectiveImageRegionIterator<const TImage>.

It is a derived class rather than an alias template so that it supports class template argument deduction.

Definition at line 215 of file itkReflectiveImageRegionIterator.h.

+ Inheritance diagram for itk::ReflectiveImageRegionConstIterator< TImage >:
+ Collaboration diagram for itk::ReflectiveImageRegionConstIterator< TImage >:

Public Types

using Self = ReflectiveImageRegionConstIterator
 
using Superclass = ReflectiveImageRegionIterator<std::add_const_t<TImage>>
 
- Public Types inherited from itk::ReflectiveImageRegionIterator< std::add_const_t< TImage > >
using ImageType
 
using IndexType
 
using OffsetType
 
using OffsetValueType
 
using PixelContainer
 
using PixelContainerPointer
 
using RegionType
 
using Self
 
using SizeType
 
using SizeValueType
 
using Superclass
 
- Public Types inherited from itk::ImageIteratorWithIndex< TImage >
using AccessorFunctorType = typename TImage::AccessorFunctorType
 
using AccessorType = typename TImage::AccessorType
 
using ImageType = detail::IteratorImageType_t<TImage>
 
using IndexType = typename TImage::IndexType
 
using IndexValueType = typename IndexType::IndexValueType
 
using InternalPixelType = typename TImage::InternalPixelType
 
using OffsetType = typename TImage::OffsetType
 
using OffsetValueType = typename OffsetType::OffsetValueType
 
using PixelContainer = typename TImage::PixelContainer
 
using PixelContainerPointer = typename PixelContainer::Pointer
 
using PixelType = typename TImage::PixelType
 
using RegionType = typename TImage::RegionType
 
using Self = ImageIteratorWithIndex
 
using SizeType = typename TImage::SizeType
 
using SizeValueType = typename SizeType::SizeValueType
 

Public Member Functions

 ReflectiveImageRegionConstIterator ()=default
 
 ReflectiveImageRegionConstIterator (const Superclass &it)
 
- Public Member Functions inherited from itk::ReflectiveImageRegionIterator< std::add_const_t< TImage > >
void FillOffsets (const OffsetValueType &value)
 
void FillOffsets (const OffsetValueType &value)
 
OffsetType GetBeginOffset (const OffsetType &)
 
OffsetType GetBeginOffset (const OffsetType &)
 
OffsetType GetEndOffset (const OffsetType &)
 
OffsetType GetEndOffset (const OffsetType &)
 
void GoToBegin ()
 
void GoToBegin ()
 
bool IsAtBegin () const
 
bool IsAtBegin () const
 
bool IsReflected (unsigned int) const
 
bool IsReflected (unsigned int) const
 
Self & operator++ ()
 
Self & operator++ ()
 
Self & operator= (const Self &)=default
 
Self & operator= (const Self &)=default
 
 ReflectiveImageRegionIterator ()
 
 ReflectiveImageRegionIterator ()
 
 ReflectiveImageRegionIterator (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ReflectiveImageRegionIterator (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ReflectiveImageRegionIterator (const ReflectiveImageRegionIterator< TOtherImage > &it)
 
 ReflectiveImageRegionIterator (const ReflectiveImageRegionIterator< TOtherImage > &it)
 
 ReflectiveImageRegionIterator (const Self &)=default
 
 ReflectiveImageRegionIterator (const Self &)=default
 
 ReflectiveImageRegionIterator (TImage *ptr, const RegionType &region)
 
 ReflectiveImageRegionIterator (TImage *ptr, const RegionType &region)
 
void SetBeginOffset (const OffsetType &offset)
 
void SetBeginOffset (const OffsetType &offset)
 
void SetEndOffset (const OffsetType &offset)
 
void SetEndOffset (const OffsetType &offset)
 
 ~ReflectiveImageRegionIterator () override=default
 
 ~ReflectiveImageRegionIterator () override=default
 
- Public Member Functions inherited from itk::ImageIteratorWithIndex< TImage >
PixelType Get () const
 
const IndexType & GetIndex () const
 
const RegionType & GetRegion () const
 
void GoToBegin ()
 
void GoToReverseBegin ()
 
 ImageIteratorWithIndex ()=default
 
template<typename TOtherImage, std::enable_if_t< detail::IsImageIteratorConvertible_v< TOtherImage, TImage >, int > = 0>
 ImageIteratorWithIndex (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ImageIteratorWithIndex (const Self &)=default
 
 ImageIteratorWithIndex (TImage *ptr, const RegionType &region)
 
bool IsAtEnd () const
 
bool IsAtReverseEnd () const
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator!= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator< (const ImageIteratorWithIndex< TOtherImage > &it) const
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator<= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
Self & operator= (const Self &)=default
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator== (const ImageIteratorWithIndex< TOtherImage > &it) const
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator> (const ImageIteratorWithIndex< TOtherImage > &it) const
 
template<typename TOtherImage, std::enable_if_t< std::is_same_v< std::remove_const_t< TOtherImage >, std::remove_const_t< TImage > >, int > = 0>
bool operator>= (const ImageIteratorWithIndex< TOtherImage > &it) const
 
bool Remaining ()
 
template<typename T = TImage, std::enable_if_t< std::is_same_v< T, TImage > &&!std::is_const_v< T >, int > = 0>
void Set (const PixelType &value) const
 
void SetIndex (const IndexType &ind)
 
template<typename T = TImage, std::enable_if_t< std::is_same_v< T, TImage > &&!std::is_const_v< T >, int > = 0>
PixelType & Value ()
 
const PixelType & Value () const
 
virtual ~ImageIteratorWithIndex ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from itk::ImageIteratorWithIndex< TImage >
static constexpr unsigned int GetImageDimension ()
 
- Static Public Attributes inherited from itk::ImageIteratorWithIndex< TImage >
static constexpr unsigned int ImageDimension = TImage::ImageDimension
 
static constexpr unsigned int ImageIteratorDimension = ImageDimension
 
- Protected Types inherited from itk::ImageIteratorWithIndex< TImage >
using QualifiedInternalPixelType
 
- Protected Attributes inherited from itk::ImageIteratorWithIndex< TImage >
QualifiedInternalPixelType * m_Begin { nullptr }
 
IndexType m_BeginIndex { { 0 } }
 
QualifiedInternalPixelType * m_End { nullptr }
 
IndexType m_EndIndex { { 0 } }
 
WeakPointer< TImage > m_Image {}
 
OffsetValueType m_OffsetTable [ImageDimension+1] {}
 
AccessorType m_PixelAccessor {}
 
AccessorFunctorType m_PixelAccessorFunctor {}
 
QualifiedInternalPixelType * m_Position { nullptr }
 
IndexType m_PositionIndex { { 0 } }
 
RegionType m_Region {}
 
bool m_Remaining { false }
 

Member Typedef Documentation

◆ Self

template<typename TImage>
using itk::ReflectiveImageRegionConstIterator< TImage >::Self = ReflectiveImageRegionConstIterator

Standard class type alias.

Definition at line 220 of file itkReflectiveImageRegionIterator.h.

◆ Superclass

template<typename TImage>
using itk::ReflectiveImageRegionConstIterator< TImage >::Superclass = ReflectiveImageRegionIterator<std::add_const_t<TImage>>

Definition at line 221 of file itkReflectiveImageRegionIterator.h.

Constructor & Destructor Documentation

◆ ReflectiveImageRegionConstIterator() [1/2]

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator ( )
default

◆ ReflectiveImageRegionConstIterator() [2/2]

template<typename TImage>
itk::ReflectiveImageRegionConstIterator< TImage >::ReflectiveImageRegionConstIterator ( const Superclass & it)
inline

Conversion from ReflectiveImageRegionIterator<const TImage>.

Definition at line 228 of file itkReflectiveImageRegionIterator.h.


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