|
mmcfilters
Public API documentation
|
Borrowed ordered contour trace for one tree node. More...
#include <ContourTrace.hpp>
Public Member Functions | |
| std::span< const ContourBoundary > | boundaries () const noexcept |
| Returns all ordered boundary descriptors. | |
| ContourBoundary | externalBoundary () const |
| Returns the unique external boundary. | |
| ContourEdgeRange | edges () const noexcept |
| Returns every contour edge in boundary order. | |
| ContourEdgeRange | boundaryEdges (const ContourBoundary &boundary) const |
| Returns the ordered edges of one boundary. | |
| ContourPixelRange | boundaryPixels (const ContourBoundary &boundary) const |
| Returns one support pixel for each ordered boundary edge. | |
Friends | |
| class | ContourTrace |
| class | ContourTraceComputation |
| class | contours::detail::ContourTraceTraversal |
Borrowed ordered contour trace for one tree node.
A view contains all ordered external and internal boundaries without owning their storage. A computation iterator's view remains valid until that iterator or one of its copies advances, or their shared traversal is destroyed. A callback's view is valid only during the callback. Views of an owned ContourTrace require its edge and boundary storage to remain alive and unchanged. The same limits apply to spans and ranges obtained from a view.
Definition at line 248 of file ContourTrace.hpp.
|
inlinenoexcept |
Returns all ordered boundary descriptors.
Definition at line 253 of file ContourTrace.hpp.
|
inline |
Returns the ordered edges of one boundary.
| boundary | Boundary descriptor from this trace. |
Definition at line 285 of file ContourTrace.hpp.
|
inline |
Returns one support pixel for each ordered boundary edge.
| boundary | Boundary descriptor from this trace. |
Definition at line 294 of file ContourTrace.hpp.
|
inlinenoexcept |
Returns every contour edge in boundary order.
Definition at line 278 of file ContourTrace.hpp.
|
inline |
Returns the unique external boundary.
| std::logic_error | If zero or multiple external boundaries exist. |
Definition at line 260 of file ContourTrace.hpp.
Definition at line 301 of file ContourTrace.hpp.
|
friend |
Definition at line 299 of file ContourTrace.hpp.
|
friend |
Definition at line 300 of file ContourTrace.hpp.