VTK  9.1.0
vtkWindowedSincPolyDataFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkWindowedSincPolyDataFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
156 #ifndef vtkWindowedSincPolyDataFilter_h
157 #define vtkWindowedSincPolyDataFilter_h
158 
159 #include "vtkFiltersCoreModule.h" // For export macro
160 #include "vtkPolyDataAlgorithm.h"
161 
162 class VTKFILTERSCORE_EXPORT vtkWindowedSincPolyDataFilter : public vtkPolyDataAlgorithm
163 {
164 public:
166  void PrintSelf(ostream& os, vtkIndent indent) override;
167 
175 
177 
182  vtkSetClampMacro(NumberOfIterations, int, 0, VTK_INT_MAX);
183  vtkGetMacro(NumberOfIterations, int);
185 
187 
190  vtkSetClampMacro(PassBand, double, 0.0, 2.0);
191  vtkGetMacro(PassBand, double);
193 
195 
203  vtkSetMacro(NormalizeCoordinates, vtkTypeBool);
204  vtkGetMacro(NormalizeCoordinates, vtkTypeBool);
205  vtkBooleanMacro(NormalizeCoordinates, vtkTypeBool);
207 
209 
214  vtkSetMacro(FeatureEdgeSmoothing, vtkTypeBool);
215  vtkGetMacro(FeatureEdgeSmoothing, vtkTypeBool);
216  vtkBooleanMacro(FeatureEdgeSmoothing, vtkTypeBool);
218 
220 
224  vtkSetClampMacro(FeatureAngle, double, 0.0, 180.0);
225  vtkGetMacro(FeatureAngle, double);
227 
229 
233  vtkSetClampMacro(EdgeAngle, double, 0.0, 180.0);
234  vtkGetMacro(EdgeAngle, double);
236 
238 
242  vtkSetMacro(BoundarySmoothing, vtkTypeBool);
243  vtkGetMacro(BoundarySmoothing, vtkTypeBool);
244  vtkBooleanMacro(BoundarySmoothing, vtkTypeBool);
246 
248 
252  vtkSetMacro(NonManifoldSmoothing, vtkTypeBool);
253  vtkGetMacro(NonManifoldSmoothing, vtkTypeBool);
254  vtkBooleanMacro(NonManifoldSmoothing, vtkTypeBool);
256 
258 
261  vtkSetMacro(GenerateErrorScalars, vtkTypeBool);
262  vtkGetMacro(GenerateErrorScalars, vtkTypeBool);
263  vtkBooleanMacro(GenerateErrorScalars, vtkTypeBool);
265 
267 
270  vtkSetMacro(GenerateErrorVectors, vtkTypeBool);
271  vtkGetMacro(GenerateErrorVectors, vtkTypeBool);
272  vtkBooleanMacro(GenerateErrorVectors, vtkTypeBool);
274 
275 protected:
277  ~vtkWindowedSincPolyDataFilter() override = default;
278 
280 
282  double PassBand;
283 
285 
287  double FeatureAngle;
288  double EdgeAngle;
291 
294 
295 private:
297  void operator=(const vtkWindowedSincPolyDataFilter&) = delete;
298 };
299 
300 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
adjust point positions using a windowed sinc function interpolation kernel
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWindowedSincPolyDataFilter * New()
Construct object with number of iterations 20; passband .1; feature edge smoothing turned off; featur...
~vtkWindowedSincPolyDataFilter() override=default
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_INT_MAX
Definition: vtkType.h:155