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

#include <ContourTree.h>

Inheritance diagram for ttk::Node:
ttk::Debug ttk::BaseClass

Public Member Functions

void addDownArcId (const int &downArcId)
 
void addDownSuperArcId (const int &downSuperArcId)
 
void addUpArcId (const int &upArcId)
 
void addUpSuperArcId (const int &upSuperArcId)
 
int getDownArcId (const int &neighborId) const
 
int getDownSuperArcId (const int &neighborId) const
 
int getUpArcId (const int &neighborId) const
 
int getUpSuperArcId (const int &neighborId) const
 
int getNumberOfDownArcs () const
 
int getNumberOfDownSuperArcs () const
 
int getNumberOfUpArcs () const
 
int getNumberOfUpSuperArcs () const
 
int getVertexId () const
 
int removeDownArcId (const int &arcId)
 
int removeUpArcId (const int &arcId)
 
void setVertexId (const int &vertexId)
 
- 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

int vertexId_ {-1}
 
bool pruned_ {false}
 
double layoutX_ {}
 
double layoutY_ {}
 
std::vector< int > downArcList_ {}
 
std::vector< int > upArcList_ {}
 
std::vector< int > downSuperArcList_ {}
 
std::vector< int > upSuperArcList_ {}
 
- 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 136 of file ContourTree.h.

Member Function Documentation

◆ addDownArcId()

void ttk::Node::addDownArcId ( const int &  downArcId)
inline

Definition at line 138 of file ContourTree.h.

◆ addDownSuperArcId()

void ttk::Node::addDownSuperArcId ( const int &  downSuperArcId)
inline

Definition at line 142 of file ContourTree.h.

◆ addUpArcId()

void ttk::Node::addUpArcId ( const int &  upArcId)
inline

Definition at line 146 of file ContourTree.h.

◆ addUpSuperArcId()

void ttk::Node::addUpSuperArcId ( const int &  upSuperArcId)
inline

Definition at line 150 of file ContourTree.h.

◆ getDownArcId()

int ttk::Node::getDownArcId ( const int &  neighborId) const
inline

Definition at line 154 of file ContourTree.h.

◆ getDownSuperArcId()

int ttk::Node::getDownSuperArcId ( const int &  neighborId) const
inline

Definition at line 160 of file ContourTree.h.

◆ getNumberOfDownArcs()

int ttk::Node::getNumberOfDownArcs ( ) const
inline

Definition at line 178 of file ContourTree.h.

◆ getNumberOfDownSuperArcs()

int ttk::Node::getNumberOfDownSuperArcs ( ) const
inline

Definition at line 182 of file ContourTree.h.

◆ getNumberOfUpArcs()

int ttk::Node::getNumberOfUpArcs ( ) const
inline

Definition at line 186 of file ContourTree.h.

◆ getNumberOfUpSuperArcs()

int ttk::Node::getNumberOfUpSuperArcs ( ) const
inline

Definition at line 190 of file ContourTree.h.

◆ getUpArcId()

int ttk::Node::getUpArcId ( const int &  neighborId) const
inline

Definition at line 166 of file ContourTree.h.

◆ getUpSuperArcId()

int ttk::Node::getUpSuperArcId ( const int &  neighborId) const
inline

Definition at line 172 of file ContourTree.h.

◆ getVertexId()

int ttk::Node::getVertexId ( ) const
inline

Definition at line 194 of file ContourTree.h.

◆ removeDownArcId()

int ttk::Node::removeDownArcId ( const int &  arcId)
inline

Definition at line 198 of file ContourTree.h.

◆ removeUpArcId()

int ttk::Node::removeUpArcId ( const int &  arcId)
inline

Definition at line 205 of file ContourTree.h.

◆ setVertexId()

void ttk::Node::setVertexId ( const int &  vertexId)
inline

Definition at line 212 of file ContourTree.h.

Friends And Related Symbol Documentation

◆ SubLevelSetTree

friend class SubLevelSetTree
friend

Definition at line 217 of file ContourTree.h.

Member Data Documentation

◆ downArcList_

std::vector<int> ttk::Node::downArcList_ {}
protected

Definition at line 222 of file ContourTree.h.

◆ downSuperArcList_

std::vector<int> ttk::Node::downSuperArcList_ {}
protected

Definition at line 223 of file ContourTree.h.

◆ layoutX_

double ttk::Node::layoutX_ {}
protected

Definition at line 221 of file ContourTree.h.

◆ layoutY_

double ttk::Node::layoutY_ {}
protected

Definition at line 221 of file ContourTree.h.

◆ pruned_

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

Definition at line 220 of file ContourTree.h.

◆ upArcList_

std::vector<int> ttk::Node::upArcList_ {}
protected

Definition at line 222 of file ContourTree.h.

◆ upSuperArcList_

std::vector<int> ttk::Node::upSuperArcList_ {}
protected

Definition at line 223 of file ContourTree.h.

◆ vertexId_

int ttk::Node::vertexId_ {-1}
protected

Definition at line 219 of file ContourTree.h.


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