MorphologicalAttributeFilters
Public API documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mmcfilters::MorphologicalTree::ConnectedComponentRange Class Reference

Range wrapper for connected-component proper-part iteration. More...

#include <MorphologicalTree.hpp>

Public Member Functions

 ConnectedComponentRange ()=default
 Creates an empty connected-component range.
 
 ConnectedComponentRange (const MorphologicalTree *tree, NodeId rootNodeId, std::size_t expectedTopologyVersion, std::size_t expectedProperPartVersion)
 Creates a range over all proper parts in the subtree of rootNodeId.
 
ConnectedComponentIterator begin () const
 Returns an iterator at the first proper part in the component.
 
ConnectedComponentIterator end () const
 Returns the connected-component range sentinel.
 

Detailed Description

Range wrapper for connected-component proper-part iteration.

Definition at line 2731 of file MorphologicalTree.hpp.

Constructor & Destructor Documentation

◆ ConnectedComponentRange()

mmcfilters::MorphologicalTree::ConnectedComponentRange::ConnectedComponentRange ( const MorphologicalTree tree,
NodeId  rootNodeId,
std::size_t  expectedTopologyVersion,
std::size_t  expectedProperPartVersion 
)
inline

Creates a range over all proper parts in the subtree of rootNodeId.

Definition at line 2747 of file MorphologicalTree.hpp.

Member Function Documentation

◆ begin()

ConnectedComponentIterator mmcfilters::MorphologicalTree::ConnectedComponentRange::begin ( ) const
inline

Returns an iterator at the first proper part in the component.

Definition at line 2760 of file MorphologicalTree.hpp.

◆ end()

ConnectedComponentIterator mmcfilters::MorphologicalTree::ConnectedComponentRange::end ( ) const
inline

Returns the connected-component range sentinel.

Definition at line 2767 of file MorphologicalTree.hpp.


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