VTK  9.4.20251007
vtkWindowedSincPolyDataFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
149
150#ifndef vtkWindowedSincPolyDataFilter_h
151#define vtkWindowedSincPolyDataFilter_h
152
153#include "vtkFiltersCoreModule.h" // For export macro
154#include "vtkPolyDataAlgorithm.h"
155
156VTK_ABI_NAMESPACE_BEGIN
157class VTKFILTERSCORE_EXPORT vtkWindowedSincPolyDataFilter : public vtkPolyDataAlgorithm
158{
159public:
167
169
174 void PrintSelf(ostream& os, vtkIndent indent) override;
176
178
183 vtkSetClampMacro(NumberOfIterations, int, 0, VTK_INT_MAX);
184 vtkGetMacro(NumberOfIterations, int);
186
188
191 vtkSetClampMacro(PassBand, double, 0.0, 2.0);
192 vtkGetMacro(PassBand, double);
194
196
208
212 enum
213 {
218 };
219
221
232 vtkSetClampMacro(WindowFunction, int, NUTTALL, HAMMING);
233 vtkGetMacro(WindowFunction, int);
250
251
253
262
264
268 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
269 vtkGetMacro(FeatureAngle, double);
271
273
277 vtkSetClampMacro(EdgeAngle, double, 0.0, 180.0);
278 vtkGetMacro(EdgeAngle, double);
280
282
290
292
300
302
312
314
321
323
330
331protected:
333 ~vtkWindowedSincPolyDataFilter() override = default;
334
336
338 double PassBand;
339
342
345 double EdgeAngle;
348
350
353
354private:
356 void operator=(const vtkWindowedSincPolyDataFilter&) = delete;
357};
358
359VTK_ABI_NAMESPACE_END
360#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void SetWindowFunctionoHanning()
Window function used for approximating the low-pass filter they determine how many iterations are nee...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void SetWindowFunctionToBlackman()
Window function used for approximating the low-pass filter they determine how many iterations are nee...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods to obtain information, and print information about the the object.
static vtkWindowedSincPolyDataFilter * New()
Construct object with number of iterations 20; passband .1; feature edge smoothing turned off; featur...
void SetWindowFunctionToNuttall()
Window function used for approximating the low-pass filter they determine how many iterations are nee...
void SetWindowFunctionToHamming()
Window function used for approximating the low-pass filter they determine how many iterations are nee...
~vtkWindowedSincPolyDataFilter() override=default
virtual void SetWindowFunction(int)
Window function used for approximating the low-pass filter they determine how many iterations are nee...
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_INT_MAX
Definition vtkType.h:144