TTK
Loading...
Searching...
No Matches
ttkSurfaceGeometrySmoother.h
Go to the documentation of this file.
1
50
51#pragma once
52
53// VTK Module
54#include <ttkSurfaceGeometrySmootherModule.h>
55
56// ttk code includes
58#include <ttkAlgorithm.h>
59
60class TTKSURFACEGEOMETRYSMOOTHER_EXPORT ttkSurfaceGeometrySmoother
61 : public ttkAlgorithm,
63
64public:
66
68
69 vtkSetMacro(NumberOfIterations, int);
70 vtkGetMacro(NumberOfIterations, int);
71
72 vtkSetMacro(UseMaskScalarField, bool);
73 vtkGetMacro(UseMaskScalarField, bool);
74
75 vtkSetMacro(ForceInputMaskScalarField, bool);
76 vtkGetMacro(ForceInputMaskScalarField, bool);
77
78 vtkSetMacro(ForceIdentifiersField, bool);
79 vtkGetMacro(ForceIdentifiersField, bool);
80
81protected:
83 ~ttkSurfaceGeometrySmoother() override = default;
84
85 int FillInputPortInformation(int port, vtkInformation *info) override;
86
87 int FillOutputPortInformation(int port, vtkInformation *info) override;
88
89 int RequestData(vtkInformation *request,
90 vtkInformationVector **inputVector,
91 vtkInformationVector *outputVector) override;
92
93private:
94 int NumberOfIterations{1};
95 bool UseMaskScalarField{true};
96 bool ForceInputMaskScalarField{false};
97 bool ForceIdentifiersField{false};
98};
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 smoothing meshes on surfaces.
static ttkSurfaceGeometrySmoother * New()
~ttkSurfaceGeometrySmoother() override=default
TTK VTK-filter for smoothing meshes on surfaces.