VTK  9.6.1
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
156
157VTK_ABI_NAMESPACE_BEGIN
159 : public vtkPolyDataAlgorithm
160{
161public:
169
171
176 void PrintSelf(ostream& os, vtkIndent indent) override;
178
180
185 vtkSetClampMacro(NumberOfIterations, int, 0, VTK_INT_MAX);
186 vtkGetMacro(NumberOfIterations, int);
188
190
193 vtkSetClampMacro(PassBand, double, 0.0, 2.0);
194 vtkGetMacro(PassBand, double);
196
198
210
214 enum
215 {
220 };
221
223
234 vtkSetClampMacro(WindowFunction, int, NUTTALL, HAMMING);
235 vtkGetMacro(WindowFunction, int);
252
253
255
264
266
270 vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
271 vtkGetMacro(FeatureAngle, double);
273
275
279 vtkSetClampMacro(EdgeAngle, double, 0.0, 180.0);
280 vtkGetMacro(EdgeAngle, double);
282
284
292
294
302
304
314
316
323
325
332
333protected:
335 ~vtkWindowedSincPolyDataFilter() override = default;
336
338
340 double PassBand;
341
344
347 double EdgeAngle;
350
352
355
356private:
358 void operator=(const vtkWindowedSincPolyDataFilter&) = delete;
359};
360
361VTK_ABI_NAMESPACE_END
362#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:197
#define VTK_MARSHALAUTO