ITK
5.2.0
Insight Toolkit
|
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::random_access_iterator_tag |
using | pointer = QualifiedPixelType * |
using | reference = PixelProxy< IsImageTypeConst > |
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 | |
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<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 287 of file itkShapedImageNeighborhoodRange.h.
using itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::difference_type = std::ptrdiff_t |
Definition at line 375 of file itkShapedImageNeighborhoodRange.h.
using itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::iterator_category = std::random_access_iterator_tag |
Definition at line 379 of file itkShapedImageNeighborhoodRange.h.
using itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::pointer = QualifiedPixelType * |
Definition at line 378 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 299 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 304 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 307 of file itkShapedImageNeighborhoodRange.h.
using itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::reference = PixelProxy<IsImageTypeConst> |
Definition at line 377 of file itkShapedImageNeighborhoodRange.h.
using itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::value_type = PixelType |
Definition at line 376 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivatenoexcept |
Definition at line 333 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." \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 396 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivate |
Definition at line 362 of file itkShapedImageNeighborhoodRange.h.
References itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_CurrentOffset, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageSize, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_NeighborhoodAccessor, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OffsetTable, and itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_RelativeLocation.
|
inlineprivate |
Definition at line 353 of file itkShapedImageNeighborhoodRange.h.
References itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_CurrentOffset, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageSize, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_NeighborhoodAccessor, itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OffsetTable, and itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_RelativeLocation.
|
inlinenoexcept |
Returns a reference to the current pixel.
Definition at line 412 of file itkShapedImageNeighborhoodRange.h.
References itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::CreatePixelAccessPolicy(), itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_ImageBufferPointer, and itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::m_OptionalPixelAccessParameter.
|
inlinenoexcept |
Prefix increment ('++it').
Definition at line 421 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 433 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 444 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 456 of file itkShapedImageNeighborhoodRange.h.
|
defaultnoexcept |
Explicitly-defaulted assignment operator.
|
inlinenoexcept |
Returns it[n] for iterator 'it' and integer value 'n'.
Definition at line 585 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 482 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (n + it) for iterator 'it' and integer value 'n'.
Definition at line 570 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it + n) for iterator 'it' and integer value 'n'.
Definition at line 562 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it += d) for iterator 'it' and integer value 'n'.
Definition at line 531 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 - it2) for iterators it1 and it2.
Definition at line 549 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it - n) for iterator 'it' and integer value 'n'.
Definition at line 578 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it -= d) for iterator 'it' and integer value 'n'.
Definition at line 540 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 491 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 513 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 469 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 504 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 522 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Definition at line 292 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Definition at line 296 of file itkShapedImageNeighborhoodRange.h.
|
staticconstexprprivate |
Definition at line 301 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 329 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::CreatePixelAccessPolicy(), itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator++(), and itk::Experimental::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator--().
|
private |
Definition at line 310 of file itkShapedImageNeighborhoodRange.h.
|
private |
|
private |
|
private |
|
private |
Definition at line 321 of file itkShapedImageNeighborhoodRange.h.
|
private |