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

TTK FTRGraph graph arc. More...

#include <FTRSuperArc.h>

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

Public Member Functions

 SuperArc (const idNode down=nullNode, const idNode up=nullNode)
 
idNode getUpNodeId () const
 
void setUpNodeId (const idNode id)
 
idNode getDownNodeId () const
 
void setDownNodeId (const idNode id)
 
PropagationgetPropagation () const
 
void setUfProp (AtomicUF *const UFprop)
 
bool hide ()
 
bool isVisible () const
 
void visit (const idVertex v)
 
void setEnd (const idVertex v)
 
idVertex getEnd () const
 
bool isEmpty () const
 
idVertex getFirstReg () const
 
idVertex getLastReg () const
 
void merge (const idSuperArc arc)
 
bool merged () const
 
idSuperArc mergedIn () const
 
void restore ()
 
const decltype(segmentation_) & segmentation () const
 
decltype(segmentation_) & segmentation ()
 
void setFromUp (bool up)
 
bool getFromUp () const
 
- 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)
 

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 FTRGraph graph arc.

Author
Gueunet Charles charl.nosp@m.es.g.nosp@m.ueune.nosp@m.t+tt.nosp@m.k@gma.nosp@m.il.c.nosp@m.om
Date
2018-01-25

This class manage arcs of the graph structure along with their Segmentation

See also
ttk::FTRGraph

Definition at line 30 of file FTRSuperArc.h.

Constructor & Destructor Documentation

◆ SuperArc()

ttk::ftr::SuperArc::SuperArc ( const idNode  down = nullNode,
const idNode  up = nullNode 
)
inline

Definition at line 43 of file FTRSuperArc.h.

Member Function Documentation

◆ getDownNodeId()

idNode ttk::ftr::SuperArc::getDownNodeId ( ) const
inline

Definition at line 57 of file FTRSuperArc.h.

◆ getEnd()

idVertex ttk::ftr::SuperArc::getEnd ( ) const
inline

Definition at line 111 of file FTRSuperArc.h.

◆ getFirstReg()

idVertex ttk::ftr::SuperArc::getFirstReg ( ) const
inline

Definition at line 119 of file FTRSuperArc.h.

◆ getFromUp()

bool ttk::ftr::SuperArc::getFromUp ( ) const
inline

Definition at line 160 of file FTRSuperArc.h.

◆ getLastReg()

idVertex ttk::ftr::SuperArc::getLastReg ( ) const
inline

Definition at line 123 of file FTRSuperArc.h.

◆ getPropagation()

Propagation * ttk::ftr::SuperArc::getPropagation ( ) const
inline

Definition at line 70 of file FTRSuperArc.h.

◆ getUpNodeId()

idNode ttk::ftr::SuperArc::getUpNodeId ( ) const
inline

Definition at line 48 of file FTRSuperArc.h.

◆ hide()

bool ttk::ftr::SuperArc::hide ( )
inline

Definition at line 83 of file FTRSuperArc.h.

◆ isEmpty()

bool ttk::ftr::SuperArc::isEmpty ( ) const
inline

Definition at line 115 of file FTRSuperArc.h.

◆ isVisible()

bool ttk::ftr::SuperArc::isVisible ( ) const
inline

Definition at line 89 of file FTRSuperArc.h.

◆ merge()

void ttk::ftr::SuperArc::merge ( const idSuperArc  arc)
inline

Definition at line 127 of file FTRSuperArc.h.

◆ merged()

bool ttk::ftr::SuperArc::merged ( ) const
inline

Definition at line 134 of file FTRSuperArc.h.

◆ mergedIn()

idSuperArc ttk::ftr::SuperArc::mergedIn ( ) const
inline

Definition at line 138 of file FTRSuperArc.h.

◆ restore()

void ttk::ftr::SuperArc::restore ( )
inline

Definition at line 142 of file FTRSuperArc.h.

◆ segmentation() [1/2]

decltype(segmentation_) & ttk::ftr::SuperArc::segmentation ( )
inline

Definition at line 151 of file FTRSuperArc.h.

◆ segmentation() [2/2]

const decltype(segmentation_) & ttk::ftr::SuperArc::segmentation ( ) const
inline

Definition at line 147 of file FTRSuperArc.h.

◆ setDownNodeId()

void ttk::ftr::SuperArc::setDownNodeId ( const idNode  id)
inline

Definition at line 66 of file FTRSuperArc.h.

◆ setEnd()

void ttk::ftr::SuperArc::setEnd ( const idVertex  v)
inline

Definition at line 104 of file FTRSuperArc.h.

◆ setFromUp()

void ttk::ftr::SuperArc::setFromUp ( bool  up)
inline

Definition at line 156 of file FTRSuperArc.h.

◆ setUfProp()

void ttk::ftr::SuperArc::setUfProp ( AtomicUF *const  UFprop)
inline

Definition at line 79 of file FTRSuperArc.h.

◆ setUpNodeId()

void ttk::ftr::SuperArc::setUpNodeId ( const idNode  id)
inline

Definition at line 53 of file FTRSuperArc.h.

◆ visit()

void ttk::ftr::SuperArc::visit ( const idVertex  v)
inline

Definition at line 94 of file FTRSuperArc.h.


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