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 285 of file itkShapedImageNeighborhoodRange.h.
Public Types | |
using | difference_type = ptrdiff_t |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = QualifiedPixelType * |
using | reference = PixelProxy< IsImageTypeConst > |
using | value_type = PixelType |
Public Member Functions | |
reference | operator[] (const difference_type n) const noexcept |
QualifiedIterator ()=default | |
template<bool VIsArgumentConst, typename = std::enable_if_t<VIsConst && !VIsArgumentConst>> | |
QualifiedIterator (const QualifiedIterator< VIsArgumentConst > &arg) noexcept | |
reference | operator* () const noexcept |
QualifiedIterator & | operator++ () noexcept |
QualifiedIterator | operator++ (int) noexcept |
QualifiedIterator & | operator-- () noexcept |
QualifiedIterator | operator-- (int) noexcept |
Private Types | |
using | QualifiedImageType = std::conditional_t< VIsConst, const ImageType, ImageType > |
using | QualifiedInternalPixelType = std::conditional_t< IsImageTypeConst, const InternalPixelType, InternalPixelType > |
using | QualifiedPixelType = std::conditional_t< IsImageTypeConst, const PixelType, PixelType > |
Private Member Functions | |
template<typename TPixelAccessParameter > | |
TImageNeighborhoodPixelAccessPolicy | CreatePixelAccessPolicy (const TPixelAccessParameter pixelAccessParameter) const |
TImageNeighborhoodPixelAccessPolicy | CreatePixelAccessPolicy (EmptyPixelAccessParameter) const |
QualifiedIterator (QualifiedInternalPixelType *const imageBufferPointer, const ImageSizeType &imageSize, const OffsetType &offsetTable, const NeighborhoodAccessorFunctorType &neighborhoodAccessor, const OptionalPixelAccessParameterType optionalPixelAccessParameter, const IndexType &relativeLocation, const OffsetType *const offset) noexcept | |
Private Attributes | |
const OffsetType * | m_CurrentOffset = nullptr |
QualifiedInternalPixelType * | m_ImageBufferPointer = nullptr |
ImageSizeType | m_ImageSize = { {} } |
NeighborhoodAccessorFunctorType | m_NeighborhoodAccessor |
OffsetType | m_OffsetTable = { {} } |
OptionalPixelAccessParameterType | m_OptionalPixelAccessParameter |
IndexType | m_RelativeLocation = { {} } |
Static Private Attributes | |
static constexpr bool | IsImageTypeConst = std::is_const_v<QualifiedImageType> |
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::difference_type = ptrdiff_t |
Definition at line 372 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::iterator_category = std::random_access_iterator_tag |
Definition at line 376 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::pointer = QualifiedPixelType * |
Definition at line 375 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 297 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 301 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 304 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::reference = PixelProxy<IsImageTypeConst> |
Definition at line 374 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::value_type = PixelType |
Definition at line 373 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivatenoexcept |
Definition at line 330 of file itkShapedImageNeighborhoodRange.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 391 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivate |
Definition at line 359 of file itkShapedImageNeighborhoodRange.h.
References itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_CurrentOffset, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageSize, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_NeighborhoodAccessor, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OffsetTable, and itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_RelativeLocation.
|
inlineprivate |
Definition at line 350 of file itkShapedImageNeighborhoodRange.h.
References itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_CurrentOffset, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageSize, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_NeighborhoodAccessor, itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OffsetTable, and itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_RelativeLocation.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator*().
|
inlinenoexcept |
Returns a reference to the current pixel.
Definition at line 407 of file itkShapedImageNeighborhoodRange.h.
References itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::CreatePixelAccessPolicy(), itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageBufferPointer, and itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OptionalPixelAccessParameter.
|
inlinenoexcept |
Prefix increment ('++it').
Definition at line 416 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 428 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 439 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 451 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Returns it[n] for iterator 'it' and integer value 'n'.
Definition at line 580 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 477 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (n + it) for iterator 'it' and integer value 'n'.
Definition at line 565 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it + n) for iterator 'it' and integer value 'n'.
Definition at line 557 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it += d) for iterator 'it' and integer value 'n'.
Definition at line 526 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 - it2) for iterators it1 and it2.
Definition at line 544 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it - n) for iterator 'it' and integer value 'n'.
Definition at line 573 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it -= d) for iterator 'it' and integer value 'n'.
Definition at line 535 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 485 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 507 of file itkShapedImageNeighborhoodRange.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 464 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 499 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 517 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Definition at line 260 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Definition at line 294 of file itkShapedImageNeighborhoodRange.h.
|
staticconstexprprivate |
Definition at line 299 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 326 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::CreatePixelAccessPolicy(), itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator++(), and itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator--().
|
private |
Definition at line 307 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator*().
|
private |
Definition at line 310 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 316 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 313 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 318 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator*().
|
private |
Definition at line 324 of file itkShapedImageNeighborhoodRange.h.