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

TTK processing package for the topological simplification of scalar data. More...

#include <QuadrangulationSubdivision.h>

Inheritance diagram for ttk::QuadrangulationSubdivision:
ttk::Debug ttk::BaseClass ttkQuadrangulationSubdivision

Public Member Functions

 QuadrangulationSubdivision ()
 
void setSubdivisionLevel (const unsigned int value)
 
void setRelaxationIterations (const unsigned int value)
 
void setLockInputExtrema (const bool value)
 
void setLockAllInputVertices (const bool value)
 
void setShowResError (const bool value)
 
void setHausdorffLevel (const float value)
 
void setInputQuads (void *const address, unsigned int size)
 
void setInputVertices (void *const address, unsigned int size)
 
void setInputVertexIdentifiers (void *const address, unsigned int size)
 
void preconditionTriangulation (AbstractTriangulation *const triangl)
 
template<typename triangulationType = AbstractTriangulation>
int execute (const triangulationType &triangulation)
 
template<typename triangulationType >
ttk::SimplexId findEdgeMiddle (const std::array< SimplexId, 2 > &e, const triangulationType &triangulation) 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)
 

Protected Attributes

SimplexId vertexNumber_ {}
 
unsigned int SubdivisionLevel {1}
 
unsigned int RelaxationIterations {10}
 
bool LockInputExtrema {false}
 
bool LockAllInputVertices {false}
 
bool ShowResError {false}
 
float HausdorffLevel {200.F}
 
unsigned int inputQuadNumber_ {}
 
Quad * inputQuads_ {}
 
unsigned int inputVertexNumber_ {}
 
PointinputVertices_ {}
 
std::vector< Quad > outputQuads_ {}
 
std::vector< PointoutputPoints_ {}
 
FlatJaggedArray quadNeighbors_ {}
 
std::vector< SimplexIdnearestVertexIdentifier_ {}
 
std::vector< std::vector< float > > vertexDistance_ {}
 
std::vector< SimplexIdoutputValences_ {}
 
std::vector< float > outputDensity_ {}
 
std::vector< float > outputDifformity_ {}
 
std::vector< SimplexIdoutputVertType_ {}
 
std::vector< SimplexIdoutputSubdivision_ {}
 
std::vector< float > quadArea_ {}
 
std::vector< float > quadDiagsRatio_ {}
 
std::vector< float > quadEdgesRatio_ {}
 
std::vector< float > quadAnglesRatio_ {}
 
std::vector< float > hausdorff_ {}
 
- 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

TTK processing package for the topological simplification of scalar data.

Author
Pierre Guillou pierr.nosp@m.e.gu.nosp@m.illou.nosp@m.@lip.nosp@m.6.fr
Julien Tierny julie.nosp@m.n.ti.nosp@m.erny@.nosp@m.lip6.nosp@m..fr
Date
March 2019
See also
ttkQuadrangulationSubdivision.cpp % for a usage example.

Online examples:

Definition at line 32 of file QuadrangulationSubdivision.h.

Constructor & Destructor Documentation

◆ QuadrangulationSubdivision()

ttk::QuadrangulationSubdivision::QuadrangulationSubdivision ( )
inline

Definition at line 35 of file QuadrangulationSubdivision.h.

Member Function Documentation

◆ execute()

template<typename triangulationType >
int ttk::QuadrangulationSubdivision::execute ( const triangulationType &  triangulation)

Definition at line 481 of file QuadrangulationSubdivision.h.

◆ findEdgeMiddle()

template<typename triangulationType >
ttk::SimplexId ttk::QuadrangulationSubdivision::findEdgeMiddle ( const std::array< SimplexId, 2 > &  e,
const triangulationType &  triangulation 
) const

Definition at line 213 of file QuadrangulationSubdivision.h.

◆ preconditionTriangulation()

void ttk::QuadrangulationSubdivision::preconditionTriangulation ( AbstractTriangulation *const  triangl)
inline

Definition at line 74 of file QuadrangulationSubdivision.h.

◆ setHausdorffLevel()

void ttk::QuadrangulationSubdivision::setHausdorffLevel ( const float  value)
inline

Definition at line 54 of file QuadrangulationSubdivision.h.

◆ setInputQuads()

void ttk::QuadrangulationSubdivision::setInputQuads ( void *const  address,
unsigned int  size 
)
inline

Definition at line 57 of file QuadrangulationSubdivision.h.

◆ setInputVertexIdentifiers()

void ttk::QuadrangulationSubdivision::setInputVertexIdentifiers ( void *const  address,
unsigned int  size 
)
inline

Definition at line 65 of file QuadrangulationSubdivision.h.

◆ setInputVertices()

void ttk::QuadrangulationSubdivision::setInputVertices ( void *const  address,
unsigned int  size 
)
inline

Definition at line 61 of file QuadrangulationSubdivision.h.

◆ setLockAllInputVertices()

void ttk::QuadrangulationSubdivision::setLockAllInputVertices ( const bool  value)
inline

Definition at line 48 of file QuadrangulationSubdivision.h.

◆ setLockInputExtrema()

void ttk::QuadrangulationSubdivision::setLockInputExtrema ( const bool  value)
inline

Definition at line 45 of file QuadrangulationSubdivision.h.

◆ setRelaxationIterations()

void ttk::QuadrangulationSubdivision::setRelaxationIterations ( const unsigned int  value)
inline

Definition at line 42 of file QuadrangulationSubdivision.h.

◆ setShowResError()

void ttk::QuadrangulationSubdivision::setShowResError ( const bool  value)
inline

Definition at line 51 of file QuadrangulationSubdivision.h.

◆ setSubdivisionLevel()

void ttk::QuadrangulationSubdivision::setSubdivisionLevel ( const unsigned int  value)
inline

Definition at line 39 of file QuadrangulationSubdivision.h.

Member Data Documentation

◆ hausdorff_

std::vector<float> ttk::QuadrangulationSubdivision::hausdorff_ {}
protected

Definition at line 205 of file QuadrangulationSubdivision.h.

◆ HausdorffLevel

float ttk::QuadrangulationSubdivision::HausdorffLevel {200.F}
protected

Definition at line 161 of file QuadrangulationSubdivision.h.

◆ inputQuadNumber_

unsigned int ttk::QuadrangulationSubdivision::inputQuadNumber_ {}
protected

Definition at line 164 of file QuadrangulationSubdivision.h.

◆ inputQuads_

Quad* ttk::QuadrangulationSubdivision::inputQuads_ {}
protected

Definition at line 166 of file QuadrangulationSubdivision.h.

◆ inputVertexNumber_

unsigned int ttk::QuadrangulationSubdivision::inputVertexNumber_ {}
protected

Definition at line 169 of file QuadrangulationSubdivision.h.

◆ inputVertices_

Point* ttk::QuadrangulationSubdivision::inputVertices_ {}
protected

Definition at line 171 of file QuadrangulationSubdivision.h.

◆ LockAllInputVertices

bool ttk::QuadrangulationSubdivision::LockAllInputVertices {false}
protected

Definition at line 157 of file QuadrangulationSubdivision.h.

◆ LockInputExtrema

bool ttk::QuadrangulationSubdivision::LockInputExtrema {false}
protected

Definition at line 155 of file QuadrangulationSubdivision.h.

◆ nearestVertexIdentifier_

std::vector<SimplexId> ttk::QuadrangulationSubdivision::nearestVertexIdentifier_ {}
protected

Definition at line 180 of file QuadrangulationSubdivision.h.

◆ outputDensity_

std::vector<float> ttk::QuadrangulationSubdivision::outputDensity_ {}
protected

Definition at line 188 of file QuadrangulationSubdivision.h.

◆ outputDifformity_

std::vector<float> ttk::QuadrangulationSubdivision::outputDifformity_ {}
protected

Definition at line 191 of file QuadrangulationSubdivision.h.

◆ outputPoints_

std::vector<Point> ttk::QuadrangulationSubdivision::outputPoints_ {}
protected

Definition at line 176 of file QuadrangulationSubdivision.h.

◆ outputQuads_

std::vector<Quad> ttk::QuadrangulationSubdivision::outputQuads_ {}
protected

Definition at line 174 of file QuadrangulationSubdivision.h.

◆ outputSubdivision_

std::vector<SimplexId> ttk::QuadrangulationSubdivision::outputSubdivision_ {}
protected

Definition at line 198 of file QuadrangulationSubdivision.h.

◆ outputValences_

std::vector<SimplexId> ttk::QuadrangulationSubdivision::outputValences_ {}
protected

Definition at line 185 of file QuadrangulationSubdivision.h.

◆ outputVertType_

std::vector<SimplexId> ttk::QuadrangulationSubdivision::outputVertType_ {}
protected

Definition at line 196 of file QuadrangulationSubdivision.h.

◆ quadAnglesRatio_

std::vector<float> ttk::QuadrangulationSubdivision::quadAnglesRatio_ {}
protected

Definition at line 204 of file QuadrangulationSubdivision.h.

◆ quadArea_

std::vector<float> ttk::QuadrangulationSubdivision::quadArea_ {}
protected

Definition at line 201 of file QuadrangulationSubdivision.h.

◆ quadDiagsRatio_

std::vector<float> ttk::QuadrangulationSubdivision::quadDiagsRatio_ {}
protected

Definition at line 202 of file QuadrangulationSubdivision.h.

◆ quadEdgesRatio_

std::vector<float> ttk::QuadrangulationSubdivision::quadEdgesRatio_ {}
protected

Definition at line 203 of file QuadrangulationSubdivision.h.

◆ quadNeighbors_

FlatJaggedArray ttk::QuadrangulationSubdivision::quadNeighbors_ {}
protected

Definition at line 178 of file QuadrangulationSubdivision.h.

◆ RelaxationIterations

unsigned int ttk::QuadrangulationSubdivision::RelaxationIterations {10}
protected

Definition at line 153 of file QuadrangulationSubdivision.h.

◆ ShowResError

bool ttk::QuadrangulationSubdivision::ShowResError {false}
protected

Definition at line 159 of file QuadrangulationSubdivision.h.

◆ SubdivisionLevel

unsigned int ttk::QuadrangulationSubdivision::SubdivisionLevel {1}
protected

Definition at line 151 of file QuadrangulationSubdivision.h.

◆ vertexDistance_

std::vector<std::vector<float> > ttk::QuadrangulationSubdivision::vertexDistance_ {}
protected

Definition at line 182 of file QuadrangulationSubdivision.h.

◆ vertexNumber_

SimplexId ttk::QuadrangulationSubdivision::vertexNumber_ {}
protected

Definition at line 148 of file QuadrangulationSubdivision.h.


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