ITK
6.0.0
Insight Toolkit
|
Iterator class that is either 'const' or non-const qualified. A non-const qualified instantiation of this template allows the pixel that it points to, to be modified. A const qualified instantiation does not.
Definition at line 103 of file itkImageRegionRange.h.
Public Types | |
using | difference_type = ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = typename std::iterator_traits< QualifiedBufferIteratorType >::pointer |
using | reference = typename std::iterator_traits< QualifiedBufferIteratorType >::reference |
using | value_type = typename std::iterator_traits< QualifiedBufferIteratorType >::value_type |
Public Member Functions | |
reference | operator* () const noexcept |
QualifiedIterator ()=default | |
template<bool VIsArgumentConst, typename = std::enable_if_t<VIsConst && !VIsArgumentConst>> | |
QualifiedIterator (const QualifiedIterator< VIsArgumentConst > &arg) noexcept | |
QualifiedIterator & | operator++ () noexcept |
QualifiedIterator | operator++ (int) noexcept |
QualifiedIterator & | operator-- () noexcept |
QualifiedIterator | operator-- (int) noexcept |
Private Types | |
using | QualifiedBufferIteratorType = std::conditional_t< VIsConst, typename ImageBufferRange< TImage >::const_iterator, typename ImageBufferRange< TImage >::iterator > |
Private Member Functions | |
template<vcl_size_t VIndex> | |
void | Decrement () noexcept |
template<vcl_size_t VIndex> | |
void | Increment () noexcept |
QualifiedIterator (const QualifiedBufferIteratorType &bufferIterator, const OffsetTableType &offsetTable, const OffsetType &iterationOffset, const SizeType ®ionSize) noexcept | |
Private Attributes | |
QualifiedBufferIteratorType | m_BufferIterator {} |
OffsetType | m_IterationOffset { {} } |
SizeType | m_IterationRegionSize { {} } |
OffsetTableType | m_OffsetTable { {} } |
Friends | |
class | ImageRegionRange |
bool | operator== (const QualifiedIterator &lhs, const QualifiedIterator &rhs) noexcept |
class | QualifiedIterator<!VIsConst > |
bool | operator!= (const QualifiedIterator &lhs, const QualifiedIterator &rhs) noexcept |
using itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::difference_type = ptrdiff_t |
Definition at line 198 of file itkImageRegionRange.h.
using itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::iterator_category = std::bidirectional_iterator_tag |
Definition at line 202 of file itkImageRegionRange.h.
using itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::pointer = typename std::iterator_traits<QualifiedBufferIteratorType>::pointer |
Definition at line 201 of file itkImageRegionRange.h.
|
private |
Definition at line 117 of file itkImageRegionRange.h.
using itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::reference = typename std::iterator_traits<QualifiedBufferIteratorType>::reference |
Definition at line 200 of file itkImageRegionRange.h.
using itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::value_type = typename std::iterator_traits<QualifiedBufferIteratorType>::value_type |
Definition at line 199 of file itkImageRegionRange.h.
|
inlineprivatenoexcept |
Definition at line 135 of file itkImageRegionRange.h.
|
default |
Default-constructor, as required for any C++11 Forward Iterator. Offers the guarantee added to the C++14 Standard: "value-initialized iterators may be compared and shall compare equal to other value-initialized iterators of the same type."
|
inlinenoexcept |
Constructor for implicit conversion from non-const to const iterator.
Definition at line 216 of file itkImageRegionRange.h.
|
inlineprivatenoexcept |
Definition at line 174 of file itkImageRegionRange.h.
References itk::ImageRegionRange< TImage >::ImageDimension, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_BufferIterator, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_IterationOffset, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_IterationRegionSize, and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_OffsetTable.
|
inlineprivatenoexcept |
Definition at line 150 of file itkImageRegionRange.h.
References itk::ImageRegionRange< TImage >::ImageDimension, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_BufferIterator, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_IterationOffset, itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_IterationRegionSize, and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_OffsetTable.
|
inlinenoexcept |
Returns a reference to the current pixel.
Definition at line 229 of file itkImageRegionRange.h.
References itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::m_BufferIterator.
|
inlinenoexcept |
Prefix increment ('++it').
Definition at line 236 of file itkImageRegionRange.h.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 247 of file itkImageRegionRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 258 of file itkImageRegionRange.h.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 269 of file itkImageRegionRange.h.
Definition at line 112 of file itkImageRegionRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 290 of file itkImageRegionRange.h.
|
friend |
Returns (it1 == it2) for iterators it1 and it2. Note that these iterators should be from the same range. This operator does not support comparing iterators from different ranges.
Definition at line 282 of file itkImageRegionRange.h.
|
friend |
Definition at line 108 of file itkImageRegionRange.h.
|
private |
Definition at line 122 of file itkImageRegionRange.h.
Referenced by itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Decrement(), itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Increment(), and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::operator*().
|
private |
Definition at line 128 of file itkImageRegionRange.h.
Referenced by itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Decrement(), and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Increment().
|
private |
Definition at line 131 of file itkImageRegionRange.h.
Referenced by itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Decrement(), and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Increment().
|
private |
Definition at line 125 of file itkImageRegionRange.h.
Referenced by itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Decrement(), and itk::ImageRegionRange< TImage >::QualifiedIterator< VIsConst >::Increment().