|
mmcfilters
Public API documentation
|
Iterator over the pixels in one node's proper part. More...
#include <MorphologicalTree.hpp>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Standard iterator category exposed for STL compatibility. | |
| using | value_type = PixelId |
| Proper-part id yielded by the iterator. | |
| using | difference_type = std::ptrdiff_t |
| Signed distance type exposed for STL compatibility. | |
| using | pointer = const PixelId * |
| Pointer type exposed for STL compatibility. | |
| using | reference = const PixelId & |
| Reference type exposed for STL compatibility. | |
Public Member Functions | |
| ProperPartIterator ()=default | |
| Creates the end/sentinel proper-part iterator. | |
| ProperPartIterator (const MorphologicalTree *tree, PixelId currentProperPart, std::size_t expectedVersion) | |
| Creates a proper-part iterator starting from a linked-list entry. | |
| ProperPartIterator & | operator++ () |
| Advances to the next pixel in the proper part. | |
| PixelId | operator* () const |
| Returns the current pixel identifier. | |
| bool | operator== (const ProperPartIterator &other) const |
| Compares proper-part iterator positions. | |
| bool | operator!= (const ProperPartIterator &other) const |
| Compares proper-part iterator positions for inequality. | |
Iterator over the pixels in one node's proper part.
Definition at line 3367 of file MorphologicalTree.hpp.
| using mmcfilters::MorphologicalTree::ProperPartIterator::difference_type = std::ptrdiff_t |
Signed distance type exposed for STL compatibility.
Definition at line 3382 of file MorphologicalTree.hpp.
| using mmcfilters::MorphologicalTree::ProperPartIterator::iterator_category = std::forward_iterator_tag |
Standard iterator category exposed for STL compatibility.
Definition at line 3378 of file MorphologicalTree.hpp.
Pointer type exposed for STL compatibility.
Definition at line 3384 of file MorphologicalTree.hpp.
Reference type exposed for STL compatibility.
Definition at line 3386 of file MorphologicalTree.hpp.
Proper-part id yielded by the iterator.
Definition at line 3380 of file MorphologicalTree.hpp.
|
inline |
Creates a proper-part iterator starting from a linked-list entry.
| tree | Tree topology. |
| currentProperPart | Proper-part data. |
| expectedVersion | Mutation version required by the operation. |
Definition at line 3400 of file MorphologicalTree.hpp.
|
inline |
Compares proper-part iterator positions for inequality.
| other | Object to compare with or transfer from. |
Definition at line 3440 of file MorphologicalTree.hpp.
|
inline |
Returns the current pixel identifier.
Definition at line 3421 of file MorphologicalTree.hpp.
|
inline |
Advances to the next pixel in the proper part.
Definition at line 3408 of file MorphologicalTree.hpp.
|
inline |
Compares proper-part iterator positions.
| other | Object to compare with or transfer from. |
Definition at line 3432 of file MorphologicalTree.hpp.