60 vtkSetMacro(Sampling,
int);
61 vtkGetMacro(Sampling,
int);
66 vtkSetMacro(StartTimestep,
int);
67 vtkGetMacro(StartTimestep,
int);
72 vtkSetMacro(EndTimestep,
int);
73 vtkGetMacro(EndTimestep,
int);
79 vtkSetMacro(Tolerance,
double);
80 vtkGetMacro(Tolerance,
double);
82 vtkSetMacro(RelativeDestructionCost,
double);
83 vtkGetMacro(RelativeDestructionCost,
double);
86 vtkSetMacro(AssignmentPrecision,
double);
87 vtkGetMacro(AssignmentPrecision,
double);
92 vtkSetMacro(PX,
double);
93 vtkGetMacro(PX,
double);
98 vtkSetMacro(PY,
double);
99 vtkGetMacro(PY,
double);
104 vtkSetMacro(PZ,
double);
105 vtkGetMacro(PZ,
double);
110 vtkSetMacro(PE,
double);
111 vtkGetMacro(PE,
double);
116 vtkSetMacro(PS,
double);
117 vtkGetMacro(PS,
double);
122 vtkSetMacro(PF,
double);
123 vtkGetMacro(PF,
double);
129 vtkSetMacro(WassersteinMetric,
const std::string &);
130 vtkGetMacro(WassersteinMetric, std::string);
133 vtkSetMacro(DistanceAlgorithm,
const std::string &);
134 vtkGetMacro(DistanceAlgorithm, std::string);
140 vtkSetMacro(PVAlgorithm,
int);
141 vtkGetMacro(PVAlgorithm,
int);
143 vtkSetMacro(AssignmentMethod,
int);
144 vtkGetMacro(AssignmentMethod,
int);
151 vtkSetMacro(UseGeometricSpacing,
bool);
152 vtkGetMacro(UseGeometricSpacing,
bool);
158 vtkSetMacro(Spacing,
double);
159 vtkGetMacro(Spacing,
double);
164 vtkSetMacro(DoPostProc,
bool);
165 vtkGetMacro(DoPostProc,
bool);
171 vtkSetMacro(PostProcThresh,
double);
172 vtkGetMacro(PostProcThresh,
double);
181 vtkInformationVector **inputVector,
182 vtkInformationVector *outputVector)
override;
186 int StartTimestep{0};
199 double RelativeDestructionCost{0.1};
200 double AssignmentPrecision{0.01};
201 int AssignmentMethod{0};
204 bool UseGeometricSpacing{
false};
205 bool DoPostProc{
false};
206 double PostProcThresh{0.0};
208 std::string DistanceAlgorithm{
"ttk"};
210 std::string WassersteinMetric{
"2"};
212 template <
class dataType,
class triangulationType>
213 int trackWithPersistenceMatching(vtkUnstructuredGrid *output,
214 unsigned long fieldNumber,
215 const triangulationType *triangulation);
217 template <
class dataType,
class triangulationType>
218 int trackWithCriticalPointMatching(vtkUnstructuredGrid *output,
219 unsigned long fieldNumber,
220 const triangulationType *triangulation);