MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Friends | List of all members
mmcfilters::ContourTraceComputation::IncrementalContourTraces Struct Reference

Lazy result for side-level contour traces. More...

#include <ContourTraceComputation.hpp>

Classes

class  EdgeRange
 Immutable range over unpacked boundary edges. More...
 

Public Member Functions

EdgeRange getEdges (NodeId node) const
 Returns unordered materialized boundary edges for one node.
 
std::vector< ContourTraceLoopgetLoops (NodeId node) const
 Returns an owning copy of the loop metadata for one node.
 
EdgeRange getLoopEdges (const ContourTraceLoop &loop) const
 Returns the ordered edges belonging to one loop.
 
void materializeAll () const
 Materializes and traces every live node.
 
bool isMaterialized () const
 Returns whether loop traces are materialized for every live node.
 
bool isEdgeMaterialized (NodeId node) const
 Returns whether packed boundary edges are materialized for node.
 
bool isNodeTraced (NodeId node) const
 Returns whether ordered loops are materialized for node.
 

Friends

class ContourTraceComputation
 

Detailed Description

Lazy result for side-level contour traces.

Definition at line 107 of file ContourTraceComputation.hpp.

Member Function Documentation

◆ getEdges()

EdgeRange mmcfilters::ContourTraceComputation::IncrementalContourTraces::getEdges ( NodeId  node) const
inline

Returns unordered materialized boundary edges for one node.

Parameters
nodeNode identifier.
Returns
Unordered materialized boundary edges for one node.

Definition at line 448 of file ContourTraceComputation.hpp.

◆ getLoopEdges()

EdgeRange mmcfilters::ContourTraceComputation::IncrementalContourTraces::getLoopEdges ( const ContourTraceLoop loop) const
inline

Returns the ordered edges belonging to one loop.

Parameters
loopContour loop descriptor.
Returns
The ordered edges belonging to one loop.

Definition at line 483 of file ContourTraceComputation.hpp.

◆ getLoops()

std::vector< ContourTraceLoop > mmcfilters::ContourTraceComputation::IncrementalContourTraces::getLoops ( NodeId  node) const
inline

Returns an owning copy of the loop metadata for one node.

The returned vector remains valid when later lazy queries materialize loops for other nodes.

Parameters
nodeNode identifier.
Returns
An owning copy of the loop metadata for one node.

Definition at line 464 of file ContourTraceComputation.hpp.

◆ isEdgeMaterialized()

bool mmcfilters::ContourTraceComputation::IncrementalContourTraces::isEdgeMaterialized ( NodeId  node) const
inline

Returns whether packed boundary edges are materialized for node.

Parameters
nodeNode identifier.
Returns
Whether packed boundary edges are materialized for node.

Definition at line 522 of file ContourTraceComputation.hpp.

◆ isMaterialized()

bool mmcfilters::ContourTraceComputation::IncrementalContourTraces::isMaterialized ( ) const
inline

Returns whether loop traces are materialized for every live node.

Returns
Whether loop traces are materialized for every live node.

Definition at line 506 of file ContourTraceComputation.hpp.

◆ isNodeTraced()

bool mmcfilters::ContourTraceComputation::IncrementalContourTraces::isNodeTraced ( NodeId  node) const
inline

Returns whether ordered loops are materialized for node.

Parameters
nodeNode identifier.
Returns
Whether ordered loops are materialized for node.

Definition at line 534 of file ContourTraceComputation.hpp.

◆ materializeAll()

void mmcfilters::ContourTraceComputation::IncrementalContourTraces::materializeAll ( ) const
inline

Materializes and traces every live node.

Definition at line 496 of file ContourTraceComputation.hpp.

Friends And Related Symbol Documentation

◆ ContourTraceComputation

Definition at line 109 of file ContourTraceComputation.hpp.


The documentation for this struct was generated from the following file: