ITK  5.2.0
Insight Toolkit
Public Member Functions | Public Attributes | List of all members
itk::watershed::SegmentTable< TScalar >::edge_pair_t Struct Reference

#include <itkWatershedSegmentTable.h>

Public Member Functions

 edge_pair_t ()=default
 
 edge_pair_t (IdentifierType l, ScalarType s)
 
bool operator< (const edge_pair_t &o) const
 

Public Attributes

ScalarType height
 
IdentifierType label
 

Detailed Description

template<typename TScalar>
struct itk::watershed::SegmentTable< TScalar >::edge_pair_t

The value type for lists of adjacencies contained in each table entry

Definition at line 64 of file itkWatershedSegmentTable.h.

Constructor & Destructor Documentation

◆ edge_pair_t() [1/2]

template<typename TScalar >
itk::watershed::SegmentTable< TScalar >::edge_pair_t::edge_pair_t ( )
default

◆ edge_pair_t() [2/2]

template<typename TScalar >
itk::watershed::SegmentTable< TScalar >::edge_pair_t::edge_pair_t ( IdentifierType  l,
ScalarType  s 
)
inline

Definition at line 67 of file itkWatershedSegmentTable.h.

Member Function Documentation

◆ operator<()

template<typename TScalar >
bool itk::watershed::SegmentTable< TScalar >::edge_pair_t::operator< ( const edge_pair_t o) const
inline

Necessary operator for sorting the adjacency lists

Definition at line 77 of file itkWatershedSegmentTable.h.

References itk::watershed::SegmentTable< TScalar >::edge_pair_t::height.

Member Data Documentation

◆ height

template<typename TScalar >
ScalarType itk::watershed::SegmentTable< TScalar >::edge_pair_t::height

◆ label

template<typename TScalar >
IdentifierType itk::watershed::SegmentTable< TScalar >::edge_pair_t::label

Definition at line 71 of file itkWatershedSegmentTable.h.


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