ITK
5.2.0
Insight Toolkit
|
#include <itkIndexRange.h>
Classes | |
struct | ZeroIndex |
Public Types | |
using | difference_type = std::ptrdiff_t |
using | iterator_category = std::bidirectional_iterator_tag |
using | pointer = const IndexType * |
using | reference = const IndexType & |
using | value_type = IndexType |
Public Member Functions | |
const_iterator ()=default | |
reference | operator* () const noexcept |
pointer | operator-> () const noexcept |
using | MinIndexType = typename std::conditional< VBeginAtZero, ZeroIndex, IndexType >::type |
class | IndexRange |
bool | operator== (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator!= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator< (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator> (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator<= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
bool | operator>= (const const_iterator &lhs, const const_iterator &rhs) noexcept |
IndexType | m_Index |
MinIndexType | m_MinIndex |
IndexType | m_MaxIndex |
const_iterator & | operator++ () noexcept |
const_iterator | operator++ (int) noexcept |
const_iterator & | operator-- () noexcept |
const_iterator | operator-- (int) noexcept |
const_iterator (const IndexType &index, const MinIndexType &minIndex, const IndexType &maxIndex) noexcept | |
Definition at line 85 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::difference_type = std::ptrdiff_t |
Definition at line 89 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::iterator_category = std::bidirectional_iterator_tag |
Definition at line 93 of file itkIndexRange.h.
|
private |
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 266 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::pointer = const IndexType * |
Definition at line 92 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::reference = const IndexType & |
Definition at line 91 of file itkIndexRange.h.
using itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::value_type = IndexType |
Definition at line 90 of file itkIndexRange.h.
|
default |
Default-constructor, as required for any C++11 Forward Iterator.
|
inlineprivatenoexcept |
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 269 of file itkIndexRange.h.
|
inlinenoexcept |
Returns a reference to the current index.
Definition at line 104 of file itkIndexRange.h.
References itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index.
|
inlinenoexcept |
Prefix increment ('++it').
Definition at line 113 of file itkIndexRange.h.
References itk::Index< VDimension >::back(), itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index, itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MaxIndex, and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MinIndex.
|
inlinenoexcept |
Postfix increment ('it++').
Definition at line 137 of file itkIndexRange.h.
|
inlinenoexcept |
Prefix decrement ('–it').
Definition at line 148 of file itkIndexRange.h.
References itk::Index< VDimension >::back(), itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_Index, itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MaxIndex, and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::m_MinIndex.
|
inlinenoexcept |
Postfix increment ('it–').
Definition at line 171 of file itkIndexRange.h.
|
inlinenoexcept |
Returns a pointer to the current index.
Definition at line 108 of file itkIndexRange.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 251 of file itkIndexRange.h.
|
friend |
Returns (it1 != it2) for iterators it1 and it2.
Definition at line 194 of file itkIndexRange.h.
|
friend |
Returns (it1 < it2) for iterators it1 and it2.
Definition at line 203 of file itkIndexRange.h.
|
friend |
Returns (it1 <= it2) for iterators it1 and it2.
Definition at line 234 of file itkIndexRange.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 184 of file itkIndexRange.h.
|
friend |
Returns (it1 > it2) for iterators it1 and it2.
Definition at line 225 of file itkIndexRange.h.
|
friend |
Returns (it1 >= it2) for iterators it1 and it2.
Definition at line 243 of file itkIndexRange.h.
|
private |
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 itkIndexRange.h.
Referenced by itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator*(), itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator++(), and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator--().
|
private |
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 288 of file itkIndexRange.h.
Referenced by itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator++(), and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator--().
|
private |
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 285 of file itkIndexRange.h.
Referenced by itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator++(), and itk::IndexRange< VDimension, VBeginAtZero >::const_iterator::operator--().