37#include <ttkMergeTreeDistanceMatrixModule.h>
41#include <vtkMultiBlockDataSet.h>
42#include <vtkSmartPointer.h>
43#include <vtkUnstructuredGrid.h>
64 bool UseFieldDataParameters =
false;
73 epsilon1UseFarthestSaddle_ = epsilon1UseFarthestSaddle;
81 epsilonTree1_ = epsilonTree1;
89 epsilon2Tree1_ = epsilon2Tree1;
97 epsilon3Tree1_ = epsilon3Tree1;
105 persistenceThreshold_ = persistenceThreshold;
113 deleteMultiPersPairs_ = doDelete;
137 if(newBackend == 2) {
138 branchDecomposition_ = oldBD;
139 normalizedWasserstein_ = oldNW;
140 keepSubtree_ = oldKS;
142 Backend = newBackend;
145 vtkGetMacro(Backend,
int);
148 assignmentSolverID_ = assignmentSolver;
156 branchDecomposition_ = branchDecomposition;
164 normalizedWasserstein_ = normalizedWasserstein;
172 keepSubtree_ = keepSubtree;
180 distanceSquaredRoot_ = distanceSquaredRoot;
187 vtkSetMacro(UseFieldDataParameters,
bool);
188 vtkGetMacro(UseFieldDataParameters,
bool);
190 vtkSetMacro(mixtureCoefficient_,
double);
191 vtkGetMacro(mixtureCoefficient_,
double);
225 vtkInformationVector **inputVector,
226 vtkInformationVector *outputVector)
override;
228 template <
class dataType>
229 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_