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

#include <itkImageSliceIteratorWithIndex.h>

Detailed Description

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

Read-only ImageSliceIteratorWithIndex: ImageSliceConstIteratorWithIndex<TImage> behaves as ImageSliceIteratorWithIndex<const TImage>.

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

Examples
Examples/Iterators/ImageSliceIteratorWithIndex.cxx.

Definition at line 255 of file itkImageSliceIteratorWithIndex.h.

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

Public Types

using Self = ImageSliceConstIteratorWithIndex
 
using Superclass = ImageSliceIteratorWithIndex<std::add_const_t<TImage>>
 
- Public Types inherited from itk::ImageSliceIteratorWithIndex< std::add_const_t< TImage > >
typedef typename TImage::AccessorType AccessorType
 
using AccessorType
 
typedef detail::IteratorImageType_t< TImage > ImageType
 
using ImageType
 
typedef typename TImage::IndexType IndexType
 
using IndexType
 
typedef typename TImage::InternalPixelType InternalPixelType
 
using InternalPixelType
 
typedef typename TImage::OffsetType OffsetType
 
using OffsetType
 
typedef typename TImage::PixelContainer PixelContainer
 
using PixelContainer
 
typedef typename PixelContainer::Pointer PixelContainerPointer
 
using PixelContainerPointer
 
typedef typename TImage::PixelType PixelType
 
using PixelType
 
typedef typename TImage::RegionType RegionType
 
using RegionType
 
using Self
 
typedef typename TImage::SizeType SizeType
 
using SizeType
 
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

 ImageSliceConstIteratorWithIndex ()=default
 
 ImageSliceConstIteratorWithIndex (const Superclass &it)
 
- Public Member Functions inherited from itk::ImageSliceIteratorWithIndex< std::add_const_t< TImage > >
void GoToBeginOfSlice ()
 
void GoToBeginOfSlice ()
 
 ImageSliceIteratorWithIndex ()=default
 
 ImageSliceIteratorWithIndex ()=default
 
 ImageSliceIteratorWithIndex (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ImageSliceIteratorWithIndex (const ImageIteratorWithIndex< TOtherImage > &it)
 
 ImageSliceIteratorWithIndex (const ImageSliceIteratorWithIndex< TOtherImage > &it)
 
 ImageSliceIteratorWithIndex (const ImageSliceIteratorWithIndex< TOtherImage > &it)
 
 ImageSliceIteratorWithIndex (TImage *ptr, const RegionType &region)
 
 ImageSliceIteratorWithIndex (TImage *ptr, const RegionType &region)
 
bool IsAtEndOfLine () const
 
bool IsAtEndOfLine () const
 
bool IsAtEndOfSlice () const
 
bool IsAtEndOfSlice () const
 
bool IsAtReverseEndOfLine () const
 
bool IsAtReverseEndOfLine () const
 
bool IsAtReverseEndOfSlice () const
 
bool IsAtReverseEndOfSlice () const
 
void NextLine ()
 
void NextLine ()
 
void NextSlice ()
 
void NextSlice ()
 
Self & operator++ ()
 
Self & operator++ ()
 
Self & operator-- ()
 
Self & operator-- ()
 
void PreviousLine ()
 
void PreviousLine ()
 
void PreviousSlice ()
 
void PreviousSlice ()
 
void SetFirstDirection (unsigned int direction)
 
void SetFirstDirection (unsigned int direction)
 
void SetSecondDirection (unsigned int direction)
 
void SetSecondDirection (unsigned int direction)
 
- 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::ImageSliceConstIteratorWithIndex< TImage >::Self = ImageSliceConstIteratorWithIndex

Standard class type alias.

Definition at line 260 of file itkImageSliceIteratorWithIndex.h.

◆ Superclass

template<typename TImage>
using itk::ImageSliceConstIteratorWithIndex< TImage >::Superclass = ImageSliceIteratorWithIndex<std::add_const_t<TImage>>

Definition at line 261 of file itkImageSliceIteratorWithIndex.h.

Constructor & Destructor Documentation

◆ ImageSliceConstIteratorWithIndex() [1/2]

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

◆ ImageSliceConstIteratorWithIndex() [2/2]

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

Conversion from ImageSliceIteratorWithIndex<const TImage>.

Definition at line 268 of file itkImageSliceIteratorWithIndex.h.


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