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

TTK topologicalCompression processing package. More...

#include <TopologicalCompression.h>

Inheritance diagram for ttk::TopologicalCompression:
ttk::Debug ttk::BaseClass ttkTopologicalCompression ttkTopologicalCompressionReader ttkTopologicalCompressionWriter

Public Member Functions

 TopologicalCompression ()
 
template<class dataType , typename triangulationType = AbstractTriangulation>
int execute (const dataType *const inputData, const SimplexId *const inputOffsets, dataType *outputData, const triangulationType &triangulation)
 
template<class dataType , typename triangulationType >
int computePersistencePairs (std::vector< std::tuple< SimplexId, SimplexId, dataType > > &JTPairs, std::vector< std::tuple< SimplexId, SimplexId, dataType > > &STPairs, const dataType *const inputScalars_, const SimplexId *const inputOffsets, const triangulationType &triangulation)
 
template<typename dataType , typename triangulationType >
int compressForPersistenceDiagram (int vertexNumber, const dataType *const inputData, const SimplexId *const inputOffset, dataType *outputData, const double &tol, const triangulationType &triangulation)
 
int computeOther () const
 
template<typename dataType >
int compressForOther (int vertexNumber, const dataType *const inputData, const SimplexId *const inputOffsets, dataType *outputData, const double &tol) const
 
void setCompressionType (int compressionType)
 
void setSQ (const std::string &sqMethod)
 
void setZFPOnly (bool z)
 
void setSubdivide (bool b)
 
void setMaximumError (double maximumError)
 
void setTolerance (const double data)
 
void setUseTopologicalSimplification (bool useTopologicalSimplification)
 
void setFileName (char *fn)
 
void preconditionTriangulation (AbstractTriangulation *const triangulation)
 
int getNbVertices () const
 
int getNbSegments () const
 
std::vector< int > & getSegmentation ()
 
std::vector< std::tuple< double, int > > & getMapping ()
 
std::vector< std::tuple< int, double, int > > & getCriticalConstraints ()
 
int getCompressionType () const
 
int getSQMethod () const
 
int getDataScalarType () const
 
int * getDataExtent ()
 
double * getDataSpacing ()
 
double * getDataOrigin ()
 
double getTolerance () const
 
double getZFPTolerance () const
 
void relToAbsZFPTolerance (const double zfpRelTol, const std::array< double, 2 > &sfRange)
 Switch from a relative (% of scalar field range) to an absolute ZFP tolerance.
 
bool getZFPOnly () const
 
const std::vector< char > & getDataArrayName () const
 
std::vector< double > & getDecompressedData ()
 
std::vector< SimplexId > & getDecompressedOffsets ()
 
std::vector< SimplexId > & getCompressedOffsets ()
 
template<typename T >
Read (FILE *fm) const
 
template<typename T >
void ReadByteArray (FILE *fm, T *buffer, size_t length) const
 
template<typename T >
void Write (FILE *fm, T data) const
 
template<typename T >
void WriteByteArray (FILE *fm, const T *buffer, size_t length) const
 
int ReadCompactSegmentation (FILE *fm, std::vector< int > &segmentation, int &numberOfVertices, int &numberOfSegments) const
 
int ReadPersistenceIndex (FILE *fm, std::vector< std::tuple< double, int > > &mappings, std::vector< std::tuple< double, int > > &mappingsSortedPerValue, std::vector< std::tuple< int, double, int > > &constraints, double &min, double &max, int &nbConstraints) const
 
int ReadMetaData (FILE *fm)
 
template<typename triangulationType >
int ReadFromFile (FILE *fm, const triangulationType &triangulation)
 
int WriteCompactSegmentation (FILE *fm, const std::vector< int > &segmentation, int numberOfVertices, int numberOfSegments) const
 
int WritePersistenceIndex (FILE *fm, std::vector< std::tuple< double, int > > &mapping, std::vector< std::tuple< int, double, int > > &constraints) const
 
int WriteMetaData (FILE *fp, int compressionType, bool zfpOnly, const char *sqMethod, int dataType, int *dataExtent, double *dataSpacing, double *dataOrigin, double tolerance, double zfpTolerance, const std::string &dataArrayName)
 
int WriteToFile (FILE *fp, int compressionType, bool zfpOnly, const char *sqMethod, int dataType, int *dataExtent, double *dataSpacing, double *dataOrigin, double *data, double tolerance, double zfpTolerance, const std::string &dataArrayName)
 
template<typename dataType >
void CropIntervals (std::vector< std::tuple< dataType, int > > &mappings, std::vector< std::tuple< dataType, int > > &mappingsSortedPerValue, double min, double max, int vertexNumber, double *array, std::vector< int > &Seg) const
 
template<typename dataType >
int compressForOther (int ttkNotUsed(vertexNumber), const dataType *const ttkNotUsed(inputData), const SimplexId *const ttkNotUsed(inputOffsets), dataType *ttkNotUsed(outputData), const double &ttkNotUsed(tol)) 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)
 

Static Public Member Functions

static unsigned int log2 (int val)
 
static bool cmp (const std::tuple< double, int > &a, const std::tuple< double, int > &b)
 
static bool cmp2 (const std::tuple< double, int > &a, const std::tuple< double, int > &b)
 

Protected Attributes

LegacyTopologicalSimplification topologicalSimplification {}
 
ftm::FTMTreePP ftmTreePP
 
int compressionType_ {}
 
bool ZFPOnly {false}
 
double ZFPTolerance {50}
 
int SQMethodInt {}
 
double Tolerance {10}
 
double MaximumError {10}
 
int CompressionType {static_cast<int>(CompressionType::PersistenceDiagram)}
 
std::string SQMethod {}
 
bool Subdivide {false}
 
bool UseTopologicalSimplification {true}
 
int dataScalarType_ {}
 
int dataExtent_ [6]
 
double dataSpacing_ [3]
 
double dataOrigin_ [3]
 
std::vector< char > dataArrayName_ {}
 
std::vector< int > segmentation_ {}
 
std::vector< std::tuple< double, int > > mapping_ {}
 
std::vector< std::tuple< int, double, int > > criticalConstraints_ {}
 
int NbVertices {0}
 
int NbSegments {0}
 
int rawFileLength {0}
 
std::vector< double > decompressedData_ {}
 
std::vector< SimplexIddecompressedOffsets_ {}
 
std::vector< SimplexIdcompressedOffsets_ {}
 
int vertexNumberRead_ {}
 
char * fileName {}
 
const char * magicBytes_ {"TTKCompressedFileFormat"}
 
const unsigned long formatVersion_ {2}
 
- 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 topologicalCompression processing package.

Author
Maxime Soler soler.nosp@m..max.nosp@m.ime@t.nosp@m.otal.nosp@m..com
Date
20/04/2017

TopologicalCompression is a TTK processing package that takes a scalar field on the input and produces a scalar field on the output.

See also
ttk::Triangulation
vtkTopologicalCompression.cpp for a usage example.

Definition at line 30 of file TopologicalCompression.h.

Constructor & Destructor Documentation

◆ TopologicalCompression()

ttk::TopologicalCompression::TopologicalCompression ( )

Definition at line 4 of file TopologicalCompression.cpp.

Member Function Documentation

◆ cmp()

static bool ttk::TopologicalCompression::cmp ( const std::tuple< double, int > &  a,
const std::tuple< double, int > &  b 
)
inlinestatic

Definition at line 179 of file TopologicalCompression.h.

◆ cmp2()

static bool ttk::TopologicalCompression::cmp2 ( const std::tuple< double, int > &  a,
const std::tuple< double, int > &  b 
)
inlinestatic

Definition at line 183 of file TopologicalCompression.h.

◆ compressForOther() [1/2]

template<typename dataType >
int ttk::TopologicalCompression::compressForOther ( int   ttkNotUsedvertexNumber,
const dataType *const   ttkNotUsedinputData,
const SimplexId *const   ttkNotUsedinputOffsets,
dataType *  ttkNotUsedoutputData,
const double &  ttkNotUsedtol 
) const

Definition at line 15 of file OtherCompression.h.

◆ compressForOther() [2/2]

template<typename dataType >
int ttk::TopologicalCompression::compressForOther ( int  vertexNumber,
const dataType *const  inputData,
const SimplexId *const  inputOffsets,
dataType *  outputData,
const double &  tol 
) const

◆ compressForPersistenceDiagram()

template<typename dataType , typename triangulationType >
int ttk::TopologicalCompression::compressForPersistenceDiagram ( int  vertexNumber,
const dataType *const  inputData,
const SimplexId *const  inputOffset,
dataType *  outputData,
const double &  tol,
const triangulationType &  triangulation 
)

Definition at line 279 of file PersistenceDiagramCompression.h.

◆ computeOther()

int ttk::TopologicalCompression::computeOther ( ) const

Definition at line 575 of file TopologicalCompression.cpp.

◆ computePersistencePairs()

template<typename dataType , typename triangulationType >
int ttk::TopologicalCompression::computePersistencePairs ( std::vector< std::tuple< SimplexId, SimplexId, dataType > > &  JTPairs,
std::vector< std::tuple< SimplexId, SimplexId, dataType > > &  STPairs,
const dataType *const  inputScalars_,
const SimplexId *const  inputOffsets,
const triangulationType &  triangulation 
)

Definition at line 253 of file PersistenceDiagramCompression.h.

◆ CropIntervals()

template<typename dataType >
void ttk::TopologicalCompression::CropIntervals ( std::vector< std::tuple< dataType, int > > &  mappings,
std::vector< std::tuple< dataType, int > > &  mappingsSortedPerValue,
double  min,
double  max,
int  vertexNumber,
double *  array,
std::vector< int > &  Seg 
) const

Definition at line 186 of file PersistenceDiagramCompression.h.

◆ execute()

template<class dataType , typename triangulationType >
int ttk::TopologicalCompression::execute ( const dataType *const  inputData,
const SimplexId *const  inputOffsets,
dataType *  outputData,
const triangulationType &  triangulation 
)
Precondition
For this function to behave correctly in the absence of the VTK wrapper, ttk::preconditionOrderArray() needs to be called to fill the inputOffsets buffer prior to any computation (the VTK wrapper already includes a mechanism to automatically generate such a preconditioned buffer).
See also
examples/c++/main.cpp for an example use.

Definition at line 413 of file TopologicalCompression.h.

◆ getCompressedOffsets()

std::vector< SimplexId > & ttk::TopologicalCompression::getCompressedOffsets ( )
inline

Definition at line 173 of file TopologicalCompression.h.

◆ getCompressionType()

int ttk::TopologicalCompression::getCompressionType ( ) const
inline

Definition at line 128 of file TopologicalCompression.h.

◆ getCriticalConstraints()

std::vector< std::tuple< int, double, int > > & ttk::TopologicalCompression::getCriticalConstraints ( )
inline

Definition at line 124 of file TopologicalCompression.h.

◆ getDataArrayName()

const std::vector< char > & ttk::TopologicalCompression::getDataArrayName ( ) const
inline

Definition at line 164 of file TopologicalCompression.h.

◆ getDataExtent()

int * ttk::TopologicalCompression::getDataExtent ( )
inline

Definition at line 137 of file TopologicalCompression.h.

◆ getDataOrigin()

double * ttk::TopologicalCompression::getDataOrigin ( )
inline

Definition at line 143 of file TopologicalCompression.h.

◆ getDataScalarType()

int ttk::TopologicalCompression::getDataScalarType ( ) const
inline

Definition at line 134 of file TopologicalCompression.h.

◆ getDataSpacing()

double * ttk::TopologicalCompression::getDataSpacing ( )
inline

Definition at line 140 of file TopologicalCompression.h.

◆ getDecompressedData()

std::vector< double > & ttk::TopologicalCompression::getDecompressedData ( )
inline

Definition at line 167 of file TopologicalCompression.h.

◆ getDecompressedOffsets()

std::vector< SimplexId > & ttk::TopologicalCompression::getDecompressedOffsets ( )
inline

Definition at line 170 of file TopologicalCompression.h.

◆ getMapping()

std::vector< std::tuple< double, int > > & ttk::TopologicalCompression::getMapping ( )
inline

Definition at line 121 of file TopologicalCompression.h.

◆ getNbSegments()

int ttk::TopologicalCompression::getNbSegments ( ) const
inline

Definition at line 115 of file TopologicalCompression.h.

◆ getNbVertices()

int ttk::TopologicalCompression::getNbVertices ( ) const
inline

Definition at line 112 of file TopologicalCompression.h.

◆ getSegmentation()

std::vector< int > & ttk::TopologicalCompression::getSegmentation ( )
inline

Definition at line 118 of file TopologicalCompression.h.

◆ getSQMethod()

int ttk::TopologicalCompression::getSQMethod ( ) const
inline

Definition at line 131 of file TopologicalCompression.h.

◆ getTolerance()

double ttk::TopologicalCompression::getTolerance ( ) const
inline

Definition at line 146 of file TopologicalCompression.h.

◆ getZFPOnly()

bool ttk::TopologicalCompression::getZFPOnly ( ) const
inline

Definition at line 160 of file TopologicalCompression.h.

◆ getZFPTolerance()

double ttk::TopologicalCompression::getZFPTolerance ( ) const
inline

Definition at line 149 of file TopologicalCompression.h.

◆ log2()

unsigned int ttk::TopologicalCompression::log2 ( int  val)
static

Definition at line 140 of file TopologicalCompression.cpp.

◆ preconditionTriangulation()

void ttk::TopologicalCompression::preconditionTriangulation ( AbstractTriangulation *const  triangulation)
inline

Definition at line 104 of file TopologicalCompression.h.

◆ Read()

template<typename T >
T ttk::TopologicalCompression::Read ( FILE *  fm) const
inline

Definition at line 189 of file TopologicalCompression.h.

◆ ReadByteArray()

template<typename T >
void ttk::TopologicalCompression::ReadByteArray ( FILE *  fm,
T *  buffer,
size_t  length 
) const
inline

Definition at line 202 of file TopologicalCompression.h.

◆ ReadCompactSegmentation()

int ttk::TopologicalCompression::ReadCompactSegmentation ( FILE *  fm,
std::vector< int > &  segmentation,
int &  numberOfVertices,
int &  numberOfSegments 
) const

Definition at line 155 of file TopologicalCompression.cpp.

◆ ReadFromFile()

template<typename triangulationType >
int ttk::TopologicalCompression::ReadFromFile ( FILE *  fm,
const triangulationType &  triangulation 
)

Definition at line 443 of file TopologicalCompression.h.

◆ ReadMetaData()

int ttk::TopologicalCompression::ReadMetaData ( FILE *  fm)

Definition at line 798 of file TopologicalCompression.cpp.

◆ ReadPersistenceIndex()

int ttk::TopologicalCompression::ReadPersistenceIndex ( FILE *  fm,
std::vector< std::tuple< double, int > > &  mappings,
std::vector< std::tuple< double, int > > &  mappingsSortedPerValue,
std::vector< std::tuple< int, double, int > > &  constraints,
double &  min,
double &  max,
int &  nbConstraints 
) const

Definition at line 342 of file TopologicalCompression.cpp.

◆ relToAbsZFPTolerance()

void ttk::TopologicalCompression::relToAbsZFPTolerance ( const double  zfpRelTol,
const std::array< double, 2 > &  sfRange 
)
inline

Switch from a relative (% of scalar field range) to an absolute ZFP tolerance.

Definition at line 156 of file TopologicalCompression.h.

◆ setCompressionType()

void ttk::TopologicalCompression::setCompressionType ( int  compressionType)
inline

Definition at line 78 of file TopologicalCompression.h.

◆ setFileName()

void ttk::TopologicalCompression::setFileName ( char *  fn)
inline

Definition at line 100 of file TopologicalCompression.h.

◆ setMaximumError()

void ttk::TopologicalCompression::setMaximumError ( double  maximumError)
inline

Definition at line 90 of file TopologicalCompression.h.

◆ setSQ()

void ttk::TopologicalCompression::setSQ ( const std::string &  sqMethod)
inline

Definition at line 81 of file TopologicalCompression.h.

◆ setSubdivide()

void ttk::TopologicalCompression::setSubdivide ( bool  b)
inline

Definition at line 87 of file TopologicalCompression.h.

◆ setTolerance()

void ttk::TopologicalCompression::setTolerance ( const double  data)
inline

Definition at line 93 of file TopologicalCompression.h.

◆ setUseTopologicalSimplification()

void ttk::TopologicalCompression::setUseTopologicalSimplification ( bool  useTopologicalSimplification)
inline

Definition at line 97 of file TopologicalCompression.h.

◆ setZFPOnly()

void ttk::TopologicalCompression::setZFPOnly ( bool  z)
inline

Definition at line 84 of file TopologicalCompression.h.

◆ Write()

template<typename T >
void ttk::TopologicalCompression::Write ( FILE *  fm,
data 
) const
inline

Definition at line 210 of file TopologicalCompression.h.

◆ WriteByteArray()

template<typename T >
void ttk::TopologicalCompression::WriteByteArray ( FILE *  fm,
const T *  buffer,
size_t  length 
) const
inline

Definition at line 221 of file TopologicalCompression.h.

◆ WriteCompactSegmentation()

int ttk::TopologicalCompression::WriteCompactSegmentation ( FILE *  fm,
const std::vector< int > &  segmentation,
int  numberOfVertices,
int  numberOfSegments 
) const

Definition at line 259 of file TopologicalCompression.cpp.

◆ WriteMetaData()

int ttk::TopologicalCompression::WriteMetaData ( FILE *  fp,
int  compressionType,
bool  zfpOnly,
const char *  sqMethod,
int  dataType,
int *  dataExtent,
double *  dataSpacing,
double *  dataOrigin,
double  tolerance,
double  zfpTolerance,
const std::string &  dataArrayName 
)

Definition at line 733 of file TopologicalCompression.cpp.

◆ WritePersistenceIndex()

int ttk::TopologicalCompression::WritePersistenceIndex ( FILE *  fm,
std::vector< std::tuple< double, int > > &  mapping,
std::vector< std::tuple< int, double, int > > &  constraints 
) const

Definition at line 409 of file TopologicalCompression.cpp.

◆ WriteToFile()

int ttk::TopologicalCompression::WriteToFile ( FILE *  fp,
int  compressionType,
bool  zfpOnly,
const char *  sqMethod,
int  dataType,
int *  dataExtent,
double *  dataSpacing,
double *  dataOrigin,
double *  data,
double  tolerance,
double  zfpTolerance,
const std::string &  dataArrayName 
)

Definition at line 610 of file TopologicalCompression.cpp.

Member Data Documentation

◆ compressedOffsets_

std::vector<SimplexId> ttk::TopologicalCompression::compressedOffsets_ {}
protected

Definition at line 396 of file TopologicalCompression.h.

◆ CompressionType

int ttk::TopologicalCompression::CompressionType {static_cast<int>(CompressionType::PersistenceDiagram)}
protected

Definition at line 373 of file TopologicalCompression.h.

◆ compressionType_

int ttk::TopologicalCompression::compressionType_ {}
protected

Definition at line 366 of file TopologicalCompression.h.

◆ criticalConstraints_

std::vector<std::tuple<int, double, int> > ttk::TopologicalCompression::criticalConstraints_ {}
protected

Definition at line 388 of file TopologicalCompression.h.

◆ dataArrayName_

std::vector<char> ttk::TopologicalCompression::dataArrayName_ {}
protected

Definition at line 383 of file TopologicalCompression.h.

◆ dataExtent_

int ttk::TopologicalCompression::dataExtent_[6]
protected

Definition at line 379 of file TopologicalCompression.h.

◆ dataOrigin_

double ttk::TopologicalCompression::dataOrigin_[3]
protected

Definition at line 381 of file TopologicalCompression.h.

◆ dataScalarType_

int ttk::TopologicalCompression::dataScalarType_ {}
protected

Definition at line 378 of file TopologicalCompression.h.

◆ dataSpacing_

double ttk::TopologicalCompression::dataSpacing_[3]
protected

Definition at line 380 of file TopologicalCompression.h.

◆ decompressedData_

std::vector<double> ttk::TopologicalCompression::decompressedData_ {}
protected

Definition at line 394 of file TopologicalCompression.h.

◆ decompressedOffsets_

std::vector<SimplexId> ttk::TopologicalCompression::decompressedOffsets_ {}
protected

Definition at line 395 of file TopologicalCompression.h.

◆ fileName

char* ttk::TopologicalCompression::fileName {}
protected

Definition at line 398 of file TopologicalCompression.h.

◆ formatVersion_

const unsigned long ttk::TopologicalCompression::formatVersion_ {2}
protected

Definition at line 404 of file TopologicalCompression.h.

◆ ftmTreePP

ftm::FTMTreePP ttk::TopologicalCompression::ftmTreePP
protected

Definition at line 363 of file TopologicalCompression.h.

◆ magicBytes_

const char* ttk::TopologicalCompression::magicBytes_ {"TTKCompressedFileFormat"}
protected

Definition at line 401 of file TopologicalCompression.h.

◆ mapping_

std::vector<std::tuple<double, int> > ttk::TopologicalCompression::mapping_ {}
protected

Definition at line 387 of file TopologicalCompression.h.

◆ MaximumError

double ttk::TopologicalCompression::MaximumError {10}
protected

Definition at line 372 of file TopologicalCompression.h.

◆ NbSegments

int ttk::TopologicalCompression::NbSegments {0}
protected

Definition at line 392 of file TopologicalCompression.h.

◆ NbVertices

int ttk::TopologicalCompression::NbVertices {0}
protected

Definition at line 391 of file TopologicalCompression.h.

◆ rawFileLength

int ttk::TopologicalCompression::rawFileLength {0}
protected

Definition at line 393 of file TopologicalCompression.h.

◆ segmentation_

std::vector<int> ttk::TopologicalCompression::segmentation_ {}
protected

Definition at line 386 of file TopologicalCompression.h.

◆ SQMethod

std::string ttk::TopologicalCompression::SQMethod {}
protected

Definition at line 374 of file TopologicalCompression.h.

◆ SQMethodInt

int ttk::TopologicalCompression::SQMethodInt {}
protected

Definition at line 369 of file TopologicalCompression.h.

◆ Subdivide

bool ttk::TopologicalCompression::Subdivide {false}
protected

Definition at line 375 of file TopologicalCompression.h.

◆ Tolerance

double ttk::TopologicalCompression::Tolerance {10}
protected

Definition at line 371 of file TopologicalCompression.h.

◆ topologicalSimplification

LegacyTopologicalSimplification ttk::TopologicalCompression::topologicalSimplification {}
protected

Definition at line 362 of file TopologicalCompression.h.

◆ UseTopologicalSimplification

bool ttk::TopologicalCompression::UseTopologicalSimplification {true}
protected

Definition at line 376 of file TopologicalCompression.h.

◆ vertexNumberRead_

int ttk::TopologicalCompression::vertexNumberRead_ {}
protected

Definition at line 397 of file TopologicalCompression.h.

◆ ZFPOnly

bool ttk::TopologicalCompression::ZFPOnly {false}
protected

Definition at line 367 of file TopologicalCompression.h.

◆ ZFPTolerance

double ttk::TopologicalCompression::ZFPTolerance {50}
protected

Definition at line 368 of file TopologicalCompression.h.


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