TTK
Loading...
Searching...
No Matches
ttkGeometrySmoother.h
Go to the documentation of this file.
1
58
59#pragma once
60
61#include <ScalarFieldSmoother.h>
62#include <ttkAlgorithm.h>
63#include <ttkGeometrySmootherModule.h>
64
65class TTKGEOMETRYSMOOTHER_EXPORT ttkGeometrySmoother
66 : public ttkAlgorithm,
67 protected ttk::ScalarFieldSmoother {
68
69private:
70 int NumberOfIterations{1};
71 bool UseMaskScalarField{true};
72 int MaskIdentifier{0};
73 bool ForceInputMaskScalarField{false};
74
75public:
76 vtkSetMacro(NumberOfIterations, int);
77 vtkGetMacro(NumberOfIterations, int);
78
79 vtkSetMacro(UseMaskScalarField, bool);
80 vtkGetMacro(UseMaskScalarField, bool);
81
82 vtkSetMacro(MaskIdentifier, int);
83 vtkGetMacro(MaskIdentifier, int);
84
85 vtkSetMacro(ForceInputMaskScalarField, bool);
86 vtkGetMacro(ForceInputMaskScalarField, bool);
87
90
91protected:
94
95 int FillInputPortInformation(int port, vtkInformation *info) override;
96 int FillOutputPortInformation(int port, vtkInformation *info) override;
97
98 int RequestData(vtkInformation *request,
99 vtkInformationVector **inputVector,
100 vtkInformationVector *outputVector) override;
101};
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 geometry smoothing.
static ttkGeometrySmoother * New()
~ttkGeometrySmoother() override
TTK processing package for scalar field smoothing.