TTK
Loading...
Searching...
No Matches
ttkTopologicalSimplificationByPersistence.h
Go to the documentation of this file.
1
17
23
59
60#pragma once
61#include <ttkTopologicalSimplificationByPersistenceModule.h>
62
63// VTK Includes
64#include <ttkAlgorithm.h>
65
66// TTK Includes
68#include <ttkMacros.h>
69
70class TTKTOPOLOGICALSIMPLIFICATIONBYPERSISTENCE_EXPORT
72 : public ttkAlgorithm,
74private:
75 double PersistenceThreshold{0.0};
76 bool ThresholdIsAbsolute{false};
77 bool ComputePerturbation{false};
79
80public:
81 vtkSetMacro(PersistenceThreshold, double);
82 vtkGetMacro(PersistenceThreshold, double);
83 vtkSetMacro(ThresholdIsAbsolute, bool);
84 vtkGetMacro(ThresholdIsAbsolute, bool);
85 vtkSetMacro(ComputePerturbation, bool);
86 vtkGetMacro(ComputePerturbation, bool);
88 vtkGetEnumMacro(PairType, PAIR_TYPE);
89
92
93protected:
96
97 int FillInputPortInformation(int port, vtkInformation *info) override;
98 int FillOutputPortInformation(int port, vtkInformation *info) override;
99 int RequestData(vtkInformation *request,
100 vtkInformationVector **inputVector,
101 vtkInformationVector *outputVector) override;
102};
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
static ttkTopologicalSimplificationByPersistence * New()
#define ttkSetEnumMacro(name, enumType)
Definition ttkMacros.h:38