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 285 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::difference_type = std::ptrdiff_t |
Definition at line 373 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::iterator_category = std::random_access_iterator_tag |
Definition at line 377 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::pointer = QualifiedPixelType * |
Definition at line 376 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 297 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 302 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 305 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::reference = PixelProxy<IsImageTypeConst> |
Definition at line 375 of file itkShapedImageNeighborhoodRange.h.
using itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::value_type = PixelType |
Definition at line 374 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivatenoexcept |
Definition at line 331 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 394 of file itkShapedImageNeighborhoodRange.h.
|
inlineprivate |
Definition at line 360 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 351 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 410 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 419 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 431 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 442 of file itkShapedImageNeighborhoodRange.h.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 454 of file itkShapedImageNeighborhoodRange.h.
|
defaultnoexcept |
Explicitly-defaulted assignment operator.
|
inlinenoexcept |
Returns it[n] for iterator 'it' and integer value 'n'.
Definition at line 583 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 480 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (n + it) for iterator 'it' and integer value 'n'.
Definition at line 568 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it + n) for iterator 'it' and integer value 'n'.
Definition at line 560 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it += d) for iterator 'it' and integer value 'n'.
Definition at line 529 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 - it2) for iterators it1 and it2.
Definition at line 547 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it - n) for iterator 'it' and integer value 'n'.
Definition at line 576 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Does (it -= d) for iterator 'it' and integer value 'n'.
Definition at line 538 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 489 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 511 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 467 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 502 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 520 of file itkShapedImageNeighborhoodRange.h.
|
friend |
Definition at line 290 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 327 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 308 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator*().
|
private |
Definition at line 311 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 317 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 314 of file itkShapedImageNeighborhoodRange.h.
|
private |
Definition at line 319 of file itkShapedImageNeighborhoodRange.h.
Referenced by itk::ShapedImageNeighborhoodRange< TImage, TImageNeighborhoodPixelAccessPolicy >::QualifiedIterator< VIsConst >::operator*().
|
private |
Definition at line 325 of file itkShapedImageNeighborhoodRange.h.