TTK
Loading...
Searching...
No Matches
ttkGeometrySmoother.h
Go to the documentation of this file.
1
49
50#pragma once
51
52#include <ScalarFieldSmoother.h>
53#include <ttkAlgorithm.h>
54#include <ttkGeometrySmootherModule.h>
55
56class TTKGEOMETRYSMOOTHER_EXPORT ttkGeometrySmoother
57 : public ttkAlgorithm,
58 protected ttk::ScalarFieldSmoother {
59
60private:
61 int NumberOfIterations{1};
62 bool UseMaskScalarField{true};
63 int MaskIdentifier{0};
64 bool ForceInputMaskScalarField{false};
65
66public:
67 vtkSetMacro(NumberOfIterations, int);
68 vtkGetMacro(NumberOfIterations, int);
69
70 vtkSetMacro(UseMaskScalarField, bool);
71 vtkGetMacro(UseMaskScalarField, bool);
72
73 vtkSetMacro(MaskIdentifier, int);
74 vtkGetMacro(MaskIdentifier, int);
75
76 vtkSetMacro(ForceInputMaskScalarField, bool);
77 vtkGetMacro(ForceInputMaskScalarField, bool);
78
81
82protected:
85
86 int FillInputPortInformation(int port, vtkInformation *info) override;
87 int FillOutputPortInformation(int port, vtkInformation *info) override;
88
89 int RequestData(vtkInformation *request,
90 vtkInformationVector **inputVector,
91 vtkInformationVector *outputVector) override;
92};
Baseclass of all VTK filters that wrap ttk modules.
Definition: ttkAlgorithm.h:34
virtual int RequestData(vtkInformation *ttkNotUsed(request), vtkInformationVector **ttkNotUsed(inputVectors), vtkInformationVector *ttkNotUsed(outputVector))
Definition: ttkAlgorithm.h:390
int FillInputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:404
int FillOutputPortInformation(int ttkNotUsed(port), vtkInformation *ttkNotUsed(info)) override
Definition: ttkAlgorithm.h:419
TTK VTK-filter for geometry smoothing.
static ttkGeometrySmoother * New()
~ttkGeometrySmoother() override
TTK processing package for scalar field smoothing.