ITK
5.2.0
Insight Toolkit
|
Classes | |
class | PixelReferenceWrapper |
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = QualifiedPixelType * |
using | reference = typename std::conditional< SupportsDirectPixelAccess, QualifiedPixelType &, PixelProxy< IsImageTypeConst > >::type |
using | value_type = PixelType |
Public Member Functions | |
QualifiedIterator ()=default | |
Private Types | |
using | QualifiedImageType = typename std::conditional< VIsConst, const ImageType, ImageType >::type |
using | QualifiedInternalPixelType = typename std::conditional< IsImageTypeConst, const InternalPixelType, InternalPixelType >::type |
using | QualifiedPixelType = typename std::conditional< IsImageTypeConst, const PixelType, PixelType >::type |
Private Member Functions | |
QualifiedIterator (const OptionalAccessorFunctorType &accessorFunctor, QualifiedInternalPixelType *const internalPixelPointer) noexcept | |
Private Attributes | |
QualifiedInternalPixelType * | m_InternalPixelPointer = nullptr |
OptionalAccessorFunctorType | m_OptionalAccessorFunctor |
Static Private Attributes | |
static constexpr bool | IsImageTypeConst = std::is_const<QualifiedImageType>::value |
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 230 of file itkImageBufferRange.h.
using itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::difference_type = std::ptrdiff_t |
Definition at line 295 of file itkImageBufferRange.h.
using itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::iterator_category = std::random_access_iterator_tag |
Definition at line 300 of file itkImageBufferRange.h.
using itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::pointer = QualifiedPixelType * |
Definition at line 299 of file itkImageBufferRange.h.
|
private |
Definition at line 242 of file itkImageBufferRange.h.
|
private |
Definition at line 247 of file itkImageBufferRange.h.
|
private |
Definition at line 250 of file itkImageBufferRange.h.
using itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::reference = typename std::conditional<SupportsDirectPixelAccess, QualifiedPixelType &, PixelProxy<IsImageTypeConst> >::type |
Definition at line 298 of file itkImageBufferRange.h.
using itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::value_type = PixelType |
Definition at line 296 of file itkImageBufferRange.h.
|
inlineprivatenoexcept |
Definition at line 284 of file itkImageBufferRange.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." \note `QualifiedIterator<VIsConst>` follows the C++ "Rule of Zero" when VIsConst is true: The other five "special member functions" of the class are then implicitly defaulted. When VIsConst is false, its copy-constructor is provided explicitly, but it still behaves the same as a default implementation.
|
inlinenoexcept |
Constructor that allows implicit conversion from non-const to const iterator. Also serves as copy-constructor of a non-const iterator.
Definition at line 317 of file itkImageBufferRange.h.
|
inlinenoexcept |
Returns a reference to the current pixel.
Definition at line 328 of file itkImageBufferRange.h.
References itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::m_InternalPixelPointer, and itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::m_OptionalAccessorFunctor.
|
inlinenoexcept |
Prefix increment ('++it').
Definition at line 340 of file itkImageBufferRange.h.
References itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::m_InternalPixelPointer.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 352 of file itkImageBufferRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 363 of file itkImageBufferRange.h.
References itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::m_InternalPixelPointer.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 375 of file itkImageBufferRange.h.
|
defaultnoexcept |
Explicitly-defaulted assignment operator.
|
inlinenoexcept |
Returns it[n] for iterator 'it' and integer value 'n'.
Definition at line 489 of file itkImageBufferRange.h.
Definition at line 239 of file itkImageBufferRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 396 of file itkImageBufferRange.h.
|
friend |
Returns (n + it) for iterator 'it' and integer value 'n'.
Definition at line 474 of file itkImageBufferRange.h.
|
friend |
Returns (it + n) for iterator 'it' and integer value 'n'.
Definition at line 466 of file itkImageBufferRange.h.
|
friend |
Does (it += d) for iterator 'it' and integer value 'n'.
Definition at line 440 of file itkImageBufferRange.h.
|
friend |
Returns (it1 - it2) for iterators it1 and it2.
Definition at line 458 of file itkImageBufferRange.h.
|
friend |
Returns (it - n) for iterator 'it' and integer value 'n'.
Definition at line 482 of file itkImageBufferRange.h.
|
friend |
Does (it -= d) for iterator 'it' and integer value 'n'.
Definition at line 449 of file itkImageBufferRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 405 of file itkImageBufferRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 422 of file itkImageBufferRange.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 388 of file itkImageBufferRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 413 of file itkImageBufferRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 431 of file itkImageBufferRange.h.
Definition at line 235 of file itkImageBufferRange.h.
|
staticconstexprprivate |
Definition at line 244 of file itkImageBufferRange.h.
|
private |
Definition at line 280 of file itkImageBufferRange.h.
Referenced by itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::operator*(), itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::operator++(), and itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::operator--().
|
private |
Definition at line 277 of file itkImageBufferRange.h.
Referenced by itk::Experimental::ImageBufferRange< TImage >::QualifiedIterator< VIsConst >::operator*().