TTK
Loading...
Searching...
No Matches
ttkTopologicalSimplification.h
Go to the documentation of this file.
1
134
135#pragma once
136
137// VTK Module
138#include <ttkTopologicalSimplificationModule.h>
139
140// ttk code includes
142#include <ttkAlgorithm.h>
144#include <ttkUtils.h>
145
146class vtkDataArray;
147
148class TTKTOPOLOGICALSIMPLIFICATION_EXPORT ttkTopologicalSimplification
149 : public ttkAlgorithm,
151
152public:
155
156 vtkSetMacro(ForceInputOffsetScalarField, bool);
157 vtkGetMacro(ForceInputOffsetScalarField, bool);
158
159 vtkSetMacro(ConsiderIdentifierAsBlackList, bool);
160 vtkGetMacro(ConsiderIdentifierAsBlackList, bool);
161
162 vtkSetMacro(AddPerturbation, bool);
163 vtkGetMacro(AddPerturbation, bool);
164
165 vtkSetMacro(ForceInputVertexScalarField, bool);
166 vtkGetMacro(ForceInputVertexScalarField, bool);
167
168 vtkSetMacro(Method, int);
169 vtkGetMacro(Method, int);
170
171 vtkSetMacro(PersistenceThreshold, double);
172 vtkGetMacro(PersistenceThreshold, double);
173
174 vtkSetMacro(UseFastPersistenceUpdate, bool);
175 vtkGetMacro(UseFastPersistenceUpdate, bool);
176
177 vtkSetMacro(FastAssignmentUpdate, bool);
178 vtkGetMacro(FastAssignmentUpdate, bool);
179
180 vtkSetMacro(EpochNumber, int);
181 vtkGetMacro(EpochNumber, int);
182
183 vtkSetMacro(PDCMethod, int);
184 vtkGetMacro(PDCMethod, int);
185
186 vtkSetMacro(MethodOptimization, int);
187 vtkGetMacro(MethodOptimization, int);
188
189 vtkSetMacro(FinePairManagement, int);
190 vtkGetMacro(FinePairManagement, int);
191
192 vtkSetMacro(ChooseLearningRate, bool);
193 vtkGetMacro(ChooseLearningRate, bool);
194
195 vtkSetMacro(LearningRate, double);
196 vtkGetMacro(LearningRate, double);
197
198 vtkSetMacro(Alpha, double);
199 vtkGetMacro(Alpha, double);
200
201 vtkSetMacro(CoefStopCondition, double);
202 vtkGetMacro(CoefStopCondition, double);
203
204 vtkSetMacro(OptimizationWithoutMatching, bool);
205 vtkGetMacro(OptimizationWithoutMatching, bool);
206
207 vtkSetMacro(ThresholdMethod, int);
208 vtkGetMacro(ThresholdMethod, int);
209
210 vtkSetMacro(Threshold, double);
211 vtkGetMacro(Threshold, double);
212
213 vtkSetMacro(LowerThreshold, int);
214 vtkGetMacro(LowerThreshold, int);
215
216 vtkSetMacro(UpperThreshold, int);
217 vtkGetMacro(UpperThreshold, int);
218
219 vtkSetMacro(PairTypeToDelete, int);
220 vtkGetMacro(PairTypeToDelete, int);
221
222 vtkSetMacro(ConstraintAveraging, bool);
223 vtkGetMacro(ConstraintAveraging, bool);
224
225 vtkSetMacro(PrintFrequency, int);
226 vtkGetMacro(PrintFrequency, int);
227
228protected:
230
231 int FillInputPortInformation(int port, vtkInformation *info) override;
232 int FillOutputPortInformation(int port, vtkInformation *info) override;
233 int RequestData(vtkInformation *request,
234 vtkInformationVector **inputVector,
235 vtkInformationVector *outputVector) override;
236
237private:
238 bool ForceInputVertexScalarField{false};
239 bool ForceInputOffsetScalarField{false};
240 bool ConsiderIdentifierAsBlackList{false};
241 bool AddPerturbation{false};
242 int Method{0};
243 double PersistenceThreshold{0};
244};
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 for the topological simplification of scalar data.
static ttkTopologicalSimplification * New()
TTK processing package for the topological simplification of scalar data.