TTK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Friends | List of all members
ttk::SuperArc Class Reference

#include <ContourTree.h>

Inheritance diagram for ttk::SuperArc:
ttk::Arc ttk::Debug ttk::BaseClass

Public Member Functions

void appendRegularNode (const int &nodeId)
 
void appendBarycenter (const std::vector< double > &barycenter)
 
void appendSample (const std::vector< int > &sample)
 
int getNumberOfRegularNodes () const
 
int getNumberOfBarycenters () const
 
int getNumberOfSamples () const
 
int getRegularNodeId (const int &arcNodeId) const
 
void getBarycenter (const int &id, std::vector< double > &barycenter) const
 
void getBarycenter (const int &id, double barycenter[3]) const
 
void getSample (const int &id, std::vector< int > &sample) const
 
void clearBarycenters ()
 
void clearSamples ()
 
void clearRegularNodes ()
 
bool isPruned () const
 
void smooth (const std::vector< Node > &nodeList, const std::vector< std::vector< double > > *vertexPositions, bool order=true)
 
void sortRegularNodes (const std::vector< double > *vertexScalars, const std::vector< int > *vertexOffsets, const std::vector< Node > *nodeList, bool order=true)
 
- Public Member Functions inherited from ttk::Arc
int getDownNodeId () const
 
int getUpNodeId () const
 
void setDownNodeId (const int &downNodeId)
 
void setUpNodeId (const int &upNodeId)
 
- 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)
 

Protected Attributes

bool pruned_ {false}
 
std::vector< int > regularNodeList_ {}
 
std::vector< std::vector< double > > barycenterList_ {}
 
std::vector< std::vector< int > > sampleList_ {}
 
- Protected Attributes inherited from ttk::Arc
int downNodeId_ {-1}
 
int upNodeId_ {-1}
 
- 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_
 

Friends

class SubLevelSetTree
 

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)
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

Definition at line 54 of file ContourTree.h.

Member Function Documentation

◆ appendBarycenter()

void ttk::SuperArc::appendBarycenter ( const std::vector< double > &  barycenter)
inline

Definition at line 62 of file ContourTree.h.

◆ appendRegularNode()

void ttk::SuperArc::appendRegularNode ( const int &  nodeId)
inline

Definition at line 58 of file ContourTree.h.

◆ appendSample()

void ttk::SuperArc::appendSample ( const std::vector< int > &  sample)
inline

Definition at line 66 of file ContourTree.h.

◆ clearBarycenters()

void ttk::SuperArc::clearBarycenters ( )
inline

Definition at line 104 of file ContourTree.h.

◆ clearRegularNodes()

void ttk::SuperArc::clearRegularNodes ( )
inline

Definition at line 112 of file ContourTree.h.

◆ clearSamples()

void ttk::SuperArc::clearSamples ( )
inline

Definition at line 108 of file ContourTree.h.

◆ getBarycenter() [1/2]

void ttk::SuperArc::getBarycenter ( const int &  id,
double  barycenter[3] 
) const
inline

Definition at line 95 of file ContourTree.h.

◆ getBarycenter() [2/2]

void ttk::SuperArc::getBarycenter ( const int &  id,
std::vector< double > &  barycenter 
) const
inline

Definition at line 89 of file ContourTree.h.

◆ getNumberOfBarycenters()

int ttk::SuperArc::getNumberOfBarycenters ( ) const
inline

Definition at line 74 of file ContourTree.h.

◆ getNumberOfRegularNodes()

int ttk::SuperArc::getNumberOfRegularNodes ( ) const
inline

Definition at line 70 of file ContourTree.h.

◆ getNumberOfSamples()

int ttk::SuperArc::getNumberOfSamples ( ) const
inline

Definition at line 78 of file ContourTree.h.

◆ getRegularNodeId()

int ttk::SuperArc::getRegularNodeId ( const int &  arcNodeId) const
inline

Definition at line 82 of file ContourTree.h.

◆ getSample()

void ttk::SuperArc::getSample ( const int &  id,
std::vector< int > &  sample 
) const
inline

Definition at line 100 of file ContourTree.h.

◆ isPruned()

bool ttk::SuperArc::isPruned ( ) const
inline

Definition at line 116 of file ContourTree.h.

◆ smooth()

void SuperArc::smooth ( const std::vector< Node > &  nodeList,
const std::vector< std::vector< double > > *  vertexPositions,
bool  order = true 
)

init ///

filtering ///

copy ///

Definition at line 85 of file ContourTree.cpp.

◆ sortRegularNodes()

void SuperArc::sortRegularNodes ( const std::vector< double > *  vertexScalars,
const std::vector< int > *  vertexOffsets,
const std::vector< Node > *  nodeList,
bool  order = true 
)

Definition at line 140 of file ContourTree.cpp.

Friends And Related Symbol Documentation

◆ SubLevelSetTree

friend class SubLevelSetTree
friend

Definition at line 56 of file ContourTree.h.

Member Data Documentation

◆ barycenterList_

std::vector<std::vector<double> > ttk::SuperArc::barycenterList_ {}
protected

Definition at line 132 of file ContourTree.h.

◆ pruned_

bool ttk::SuperArc::pruned_ {false}
protected

Definition at line 130 of file ContourTree.h.

◆ regularNodeList_

std::vector<int> ttk::SuperArc::regularNodeList_ {}
protected

Definition at line 131 of file ContourTree.h.

◆ sampleList_

std::vector<std::vector<int> > ttk::SuperArc::sampleList_ {}
protected

Definition at line 133 of file ContourTree.h.


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