TTK
Loading...
Searching...
No Matches
ttk::VectorSimplification::CandidatePair Struct Reference

Candidate pair struct for information of pairs connected by V-Paths We need to know the start and end points, type of connection, weight of connection and which cell to follow for ascending or descending path. More...

#include <VectorSimplification.h>

Public Member Functions

 CandidatePair (SimplexId b, Cell next, SimplexId d, int t, float w)
 

Public Attributes

SimplexId birth
 
Cell nextCell
 
SimplexId death
 
int alternations {0}
 
bool generateOrbit {false}
 
int type
 
float weight
 

Detailed Description

Candidate pair struct for information of pairs connected by V-Paths We need to know the start and end points, type of connection, weight of connection and which cell to follow for ascending or descending path.

Definition at line 60 of file VectorSimplification.h.

Constructor & Destructor Documentation

◆ CandidatePair()

ttk::VectorSimplification::CandidatePair::CandidatePair ( SimplexId b,
Cell next,
SimplexId d,
int t,
float w )
inline

Definition at line 81 of file VectorSimplification.h.

Member Data Documentation

◆ alternations

int ttk::VectorSimplification::CandidatePair::alternations {0}

Number of alternations performed while tracing V-Path

Definition at line 68 of file VectorSimplification.h.

◆ birth

SimplexId ttk::VectorSimplification::CandidatePair::birth

first (lower dim/birth) simplex cell id

Definition at line 62 of file VectorSimplification.h.

◆ death

SimplexId ttk::VectorSimplification::CandidatePair::death

second (higher dim/death) simplex cell id

Definition at line 66 of file VectorSimplification.h.

◆ generateOrbit

bool ttk::VectorSimplification::CandidatePair::generateOrbit {false}

Will simplifying this pair generate an orbit (i.e., does the saddle connect to the same spot)

Definition at line 72 of file VectorSimplification.h.

◆ nextCell

Cell ttk::VectorSimplification::CandidatePair::nextCell

Next cell to follow for asc/des path call

Definition at line 64 of file VectorSimplification.h.

◆ type

int ttk::VectorSimplification::CandidatePair::type

pair type (min-saddle: 0, saddle-saddle: 1, saddle-max: 2)

Definition at line 75 of file VectorSimplification.h.

◆ weight

float ttk::VectorSimplification::CandidatePair::weight

Weight of simplification pair in discrete vector field (computed using the alternating sum along pairs and anti-pairs)

Definition at line 79 of file VectorSimplification.h.


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