VTK  9.3.20240327
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
132 #ifndef vtkShrinkPolyData_h
133 #define vtkShrinkPolyData_h
134 
135 #include "vtkFiltersGeneralModule.h" // For export macro
136 #include "vtkPolyDataAlgorithm.h"
137 
138 VTK_ABI_NAMESPACE_BEGIN
139 class VTKFILTERSGENERAL_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm
140 {
141 public:
144  void PrintSelf(ostream& os, vtkIndent indent) override;
145 
147 
150  vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
152 
154 
157  vtkGetMacro(ShrinkFactor, double);
159 
160 protected:
161  vtkShrinkPolyData(double sf = 0.5);
162  ~vtkShrinkPolyData() override = default;
163 
165  double ShrinkFactor;
166 
167 private:
168  vtkShrinkPolyData(const vtkShrinkPolyData&) = delete;
169  void operator=(const vtkShrinkPolyData&) = delete;
170 };
171 
172 VTK_ABI_NAMESPACE_END
173 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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()