34#include <ttkMergeTreeDistanceMatrixModule.h>
38#include <vtkMultiBlockDataSet.h>
39#include <vtkSmartPointer.h>
40#include <vtkUnstructuredGrid.h>
61 bool UseFieldDataParameters =
false;
70 epsilon1UseFarthestSaddle_ = epsilon1UseFarthestSaddle;
78 epsilonTree1_ = epsilonTree1;
86 epsilon2Tree1_ = epsilon2Tree1;
94 epsilon3Tree1_ = epsilon3Tree1;
102 persistenceThreshold_ = persistenceThreshold;
110 deleteMultiPersPairs_ = doDelete;
134 if(newBackend == 2) {
135 branchDecomposition_ = oldBD;
136 normalizedWasserstein_ = oldNW;
137 keepSubtree_ = oldKS;
139 Backend = newBackend;
142 vtkGetMacro(Backend,
int);
145 assignmentSolverID_ = assignmentSolver;
153 branchDecomposition_ = branchDecomposition;
161 normalizedWasserstein_ = normalizedWasserstein;
169 keepSubtree_ = keepSubtree;
177 distanceSquaredRoot_ = distanceSquaredRoot;
184 vtkSetMacro(UseFieldDataParameters,
bool);
185 vtkGetMacro(UseFieldDataParameters,
bool);
187 vtkSetMacro(mixtureCoefficient_,
double);
188 vtkGetMacro(mixtureCoefficient_,
double);
222 vtkInformationVector **inputVector,
223 vtkInformationVector *outputVector)
override;
225 template <
class dataType>
226 int run(vtkInformationVector *outputVector,
Baseclass of all VTK filters that wrap ttk modules.
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
TTK VTK-filter that wraps the ttk::MergeTreeDistanceMatrix module.
double SetEpsilon3Tree1()
int GetAssignmentSolver()
void SetBranchMetric(int m)
void SetKeepSubtree(bool keepSubtree)
void SetEpsilon2Tree1(double epsilon2Tree1)
int GetNormalizedWasserstein()
void SetNormalizedWasserstein(bool normalizedWasserstein)
double SetEpsilon2Tree1()
~ttkMergeTreeDistanceMatrix() override
void SetBackend(int newBackend)
void SetPersistenceThreshold(double persistenceThreshold)
int GetBranchDecomposition()
void SetEpsilon1UseFarthestSaddle(bool epsilon1UseFarthestSaddle)
void SetAssignmentSolver(int assignmentSolver)
void SetBranchDecomposition(bool branchDecomposition)
int GetDistanceSquaredRoot()
void SetEpsilonTree1(double epsilonTree1)
bool SetDeleteMultiPersPairs()
double SetPersistenceThreshold()
void SetPathMetric(int m)
void SetDeleteMultiPersPairs(bool doDelete)
void SetEpsilon3Tree1(double epsilon3Tree1)
static ttkMergeTreeDistanceMatrix * New()
bool GetEpsilon1UseFarthestSaddle()
void SetDistanceSquaredRoot(bool distanceSquaredRoot)
bool epsilon1UseFarthestSaddle_
bool normalizedWasserstein_
bool deleteMultiPersPairs_
bool distanceSquaredRoot_
double persistenceThreshold_
bool branchDecomposition_