TTK
Loading...
Searching...
No Matches
ttkScalarFieldSmoother.h
Go to the documentation of this file.
1
52
53#pragma once
54
55// VTK includes
56
57// VTK Module
58#include <ttkScalarFieldSmootherModule.h>
59
60// ttk code includes
61#include <ScalarFieldSmoother.h>
62#include <ttkAlgorithm.h>
63
64class TTKSCALARFIELDSMOOTHER_EXPORT ttkScalarFieldSmoother
65 : public ttkAlgorithm,
66 protected ttk::ScalarFieldSmoother {
67
68public:
70
72
73 vtkSetMacro(NumberOfIterations, int);
74 vtkGetMacro(NumberOfIterations, int);
75
76 vtkSetMacro(ForceInputMaskScalarField, bool);
77 vtkGetMacro(ForceInputMaskScalarField, bool);
78
79protected:
81
83
84 int FillInputPortInformation(int port, vtkInformation *info) override;
85
86 int FillOutputPortInformation(int port, vtkInformation *info) override;
87
88 int RequestData(vtkInformation *request,
89 vtkInformationVector **inputVector,
90 vtkInformationVector *outputVector) override;
91
92private:
93 int NumberOfIterations{1};
94 bool ForceInputMaskScalarField{false};
95};
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.