Persistence 1D incl. Reconstruct1D  1.3
Finding extrema in one dimensional data, filtering them by persistence and reconstructing smooth functions
Public Member Functions | Public Attributes | List of all members
p1d::TIdxAndData Struct Reference

Used to sort data according to its absolute value and refer to its original index in the Data vector. More...

#include <persistence1d.hpp>

Public Member Functions

 TIdxAndData ()
 
bool operator< (const TIdxAndData &other) const
 

Public Attributes

int Idx
 The index of the vertex within the Data vector. More...
 
float Data
 Vertex data value from the original Data vector sent as an argument to RunPersistence. More...
 

Detailed Description

Used to sort data according to its absolute value and refer to its original index in the Data vector.

A collection of TIdxAndData is sorted according to its data value (if values are equal, according to indices). The index allows access back to the vertex in the Data vector.

Definition at line 26 of file persistence1d.hpp.

Constructor & Destructor Documentation

◆ TIdxAndData()

p1d::TIdxAndData::TIdxAndData ( )
inline

Definition at line 28 of file persistence1d.hpp.

Member Function Documentation

◆ operator<()

bool p1d::TIdxAndData::operator< ( const TIdxAndData other) const
inline

Definition at line 30 of file persistence1d.hpp.

Member Data Documentation

◆ Data

float p1d::TIdxAndData::Data

Vertex data value from the original Data vector sent as an argument to RunPersistence.

Definition at line 41 of file persistence1d.hpp.

◆ Idx

int p1d::TIdxAndData::Idx

The index of the vertex within the Data vector.

Definition at line 38 of file persistence1d.hpp.


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