TTK
Loading...
Searching...
No Matches
ttk::VectorWeightCurve Class Reference

TTK processing package for the computation of weight curve associated with the discrete vector field topology. More...

#include <VectorWeightCurve.h>

Inheritance diagram for ttk::VectorWeightCurve:
ttk::Debug ttk::BaseClass ttkVectorWeightCurve

Public Member Functions

 VectorWeightCurve ()
 
void UpdateTraceFullOrbits ()
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Public Attributes

VectorSimplification vs_ {}
 
bool DisplayOrbits {false}
 
bool DisplayExtrema {false}
 
bool ReverseFullOrbit {true}
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

TTK processing package for the computation of weight curve associated with the discrete vector field topology.

Author
Tanner Finken
Joshua A. Levine
Date
2024.

This package takes a 2D Vector Field as input and computes the number of pairs as a function of weight (i.e. a number similar to persistence).

These curves provide useful visual clues in order to fine-tune simplification thresholds when displaying fields through TopologicalSkeleton.

See also
ttk::TopologicalSkeleton

Related publication
"Localized Evaluation for Constructing Discrete Vector Fields"
Tanner Finken, Julien Tierny, Joshua A. Levine
IEEE VIS 2024.

See also
ttk::TopologicalSkeleton

Online examples:

Definition at line 40 of file VectorWeightCurve.h.

Constructor & Destructor Documentation

◆ VectorWeightCurve()

ttk::VectorWeightCurve::VectorWeightCurve ( )

Definition at line 4 of file VectorWeightCurve.cpp.

Member Function Documentation

◆ UpdateTraceFullOrbits()

void ttk::VectorWeightCurve::UpdateTraceFullOrbits ( )
inline

Definition at line 49 of file VectorWeightCurve.h.

Member Data Documentation

◆ DisplayExtrema

bool ttk::VectorWeightCurve::DisplayExtrema {false}

Definition at line 46 of file VectorWeightCurve.h.

◆ DisplayOrbits

bool ttk::VectorWeightCurve::DisplayOrbits {false}

Definition at line 45 of file VectorWeightCurve.h.

◆ ReverseFullOrbit

bool ttk::VectorWeightCurve::ReverseFullOrbit {true}

Definition at line 47 of file VectorWeightCurve.h.

◆ vs_

VectorSimplification ttk::VectorWeightCurve::vs_ {}

Definition at line 43 of file VectorWeightCurve.h.


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