TTK
Loading...
Searching...
No Matches
ttkScalarFieldSmoother.h
Go to the documentation of this file.
1
63
64#pragma once
65
66// VTK includes
67
68// VTK Module
69#include <ttkScalarFieldSmootherModule.h>
70
71// ttk code includes
72#include <ScalarFieldSmoother.h>
73#include <ttkAlgorithm.h>
74
75class TTKSCALARFIELDSMOOTHER_EXPORT ttkScalarFieldSmoother
76 : public ttkAlgorithm,
77 protected ttk::ScalarFieldSmoother {
78
79public:
81
83
84 vtkSetMacro(NumberOfIterations, int);
85 vtkGetMacro(NumberOfIterations, int);
86
87 vtkSetMacro(ForceInputMaskScalarField, bool);
88 vtkGetMacro(ForceInputMaskScalarField, bool);
89
90protected:
92
94
95 int FillInputPortInformation(int port, vtkInformation *info) override;
96
97 int FillOutputPortInformation(int port, vtkInformation *info) override;
98
99 int RequestData(vtkInformation *request,
100 vtkInformationVector **inputVector,
101 vtkInformationVector *outputVector) override;
102
103private:
104 int NumberOfIterations{1};
105 bool ForceInputMaskScalarField{false};
106};
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 ttkScalarFieldSmoother * New()
~ttkScalarFieldSmoother() override
TTK processing package for scalar field smoothing.