|
mmcfilters
Public API documentation
|
Forward iterator that unpacks contour edges on dereference. More...
#include <ContourTrace.hpp>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| Standard category for a multi-pass forward iterator. | |
| using | value_type = ContourEdge |
| Unpacked edge value yielded by dereference. | |
| using | difference_type = std::ptrdiff_t |
| Signed iterator-distance type. | |
| using | pointer = void |
| No pointer type is exposed because dereference returns a value. | |
| using | reference = value_type |
| Value-returning reference type. | |
Public Member Functions | |
| iterator (const int *packedEdge) | |
| Creates an iterator at one packed-edge position. | |
| value_type | operator* () const |
| Returns the unpacked current edge. | |
| iterator & | operator++ () |
| Advances to the next packed edge. | |
| iterator | operator++ (int) |
| Advances while retaining the previous iterator position. | |
Friends | |
| bool | operator== (const iterator &, const iterator &)=default |
| Compares packed-edge positions. | |
Forward iterator that unpacks contour edges on dereference.
Definition at line 82 of file ContourTrace.hpp.
| using mmcfilters::ContourEdgeRange::iterator::difference_type = std::ptrdiff_t |
Signed iterator-distance type.
Definition at line 89 of file ContourTrace.hpp.
| using mmcfilters::ContourEdgeRange::iterator::iterator_category = std::forward_iterator_tag |
Standard category for a multi-pass forward iterator.
Definition at line 85 of file ContourTrace.hpp.
No pointer type is exposed because dereference returns a value.
Definition at line 91 of file ContourTrace.hpp.
Value-returning reference type.
Definition at line 93 of file ContourTrace.hpp.
Unpacked edge value yielded by dereference.
Definition at line 87 of file ContourTrace.hpp.
Creates an iterator at one packed-edge position.
| packedEdge | Current packed-edge address. |
Definition at line 101 of file ContourTrace.hpp.
|
inline |
Returns the unpacked current edge.
Definition at line 107 of file ContourTrace.hpp.
|
inline |
Advances to the next packed edge.
Definition at line 113 of file ContourTrace.hpp.
Advances while retaining the previous iterator position.
Definition at line 122 of file ContourTrace.hpp.