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