VTK  9.3.0
vtkShrinkPolyData.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
33 #ifndef vtkShrinkPolyData_h
34 #define vtkShrinkPolyData_h
35 
36 #include "vtkFiltersGeneralModule.h" // For export macro
37 #include "vtkPolyDataAlgorithm.h"
38 
39 VTK_ABI_NAMESPACE_BEGIN
40 class VTKFILTERSGENERAL_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm
41 {
42 public:
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
51  vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
53 
55 
58  vtkGetMacro(ShrinkFactor, double);
60 
61 protected:
62  vtkShrinkPolyData(double sf = 0.5);
63  ~vtkShrinkPolyData() override = default;
64 
66  double ShrinkFactor;
67 
68 private:
69  vtkShrinkPolyData(const vtkShrinkPolyData&) = delete;
70  void operator=(const vtkShrinkPolyData&) = delete;
71 };
72 
73 VTK_ABI_NAMESPACE_END
74 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
shrink cells composing PolyData
~vtkShrinkPolyData() override=default
vtkShrinkPolyData(double sf=0.5)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkShrinkPolyData * New()