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

#include <Identifiers.h>

Inheritance diagram for ttk::Identifiers:
ttk::Debug ttk::BaseClass ttkIdentifiers

Public Member Functions

 Identifiers ()
 
 ~Identifiers () override=default
 
void setVertexNumber (const SimplexId &vertexNumber)
 
void setCellNumber (const SimplexId &cellNumber)
 
void setVertexIdentifiers (ttk::LongSimplexId *vertexIdentifiers)
 
void setCellIdentifiers (ttk::LongSimplexId *cellIdentifiers)
 
int executeSequential ()
 Generates global ids for all data set type in sequential.
 
- 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

ttk::SimplexId vertexNumber_ {}
 
ttk::SimplexId cellNumber_ {}
 
ttk::LongSimplexIdvertexIdentifiers_
 
ttk::LongSimplexIdcellIdentifiers_
 
- 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_
 

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

The Identifiers class provides methods to compute for each vertex and cell of a data set a global id. It uses RankArray and outdated global identifiers if they are defined to accelerate computation for data sets of PolyData type.

Author
Eve Le Guillou eve.l.nosp@m.e-gu.nosp@m.illou.nosp@m.@lip.nosp@m.6.fr
Date
October 2022.

This module defines the Identifiers class that computes for each vertex of a triangulation the average scalar value of itself and its direct neighbors.

Definition at line 45 of file Identifiers.h.

Constructor & Destructor Documentation

◆ Identifiers()

ttk::Identifiers::Identifiers ( )

Definition at line 3 of file Identifiers.cpp.

◆ ~Identifiers()

ttk::Identifiers::~Identifiers ( )
overridedefault

Member Function Documentation

◆ executeSequential()

int ttk::Identifiers::executeSequential ( )
inline

Generates global ids for all data set type in sequential.

Returns
int

Definition at line 942 of file Identifiers.h.

◆ setCellIdentifiers()

void ttk::Identifiers::setCellIdentifiers ( ttk::LongSimplexId cellIdentifiers)
inline

Definition at line 97 of file Identifiers.h.

◆ setCellNumber()

void ttk::Identifiers::setCellNumber ( const SimplexId cellNumber)
inline

Definition at line 89 of file Identifiers.h.

◆ setVertexIdentifiers()

void ttk::Identifiers::setVertexIdentifiers ( ttk::LongSimplexId vertexIdentifiers)
inline

Definition at line 93 of file Identifiers.h.

◆ setVertexNumber()

void ttk::Identifiers::setVertexNumber ( const SimplexId vertexNumber)
inline

Definition at line 85 of file Identifiers.h.

Member Data Documentation

◆ cellIdentifiers_

ttk::LongSimplexId* ttk::Identifiers::cellIdentifiers_
protected

Definition at line 56 of file Identifiers.h.

◆ cellNumber_

ttk::SimplexId ttk::Identifiers::cellNumber_ {}
protected

Definition at line 54 of file Identifiers.h.

◆ vertexIdentifiers_

ttk::LongSimplexId* ttk::Identifiers::vertexIdentifiers_
protected

Definition at line 55 of file Identifiers.h.

◆ vertexNumber_

ttk::SimplexId ttk::Identifiers::vertexNumber_ {}
protected

Definition at line 53 of file Identifiers.h.


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