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