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
42 #ifndef vtkShrinkPolyData_h
43 #define vtkShrinkPolyData_h
44 
45 #include "vtkFiltersGeneralModule.h" // For export macro
46 #include "vtkPolyDataAlgorithm.h"
47 
48 VTK_ABI_NAMESPACE_BEGIN
49 class VTKFILTERSGENERAL_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm
50 {
51 public:
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
57 
60  vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
62 
64 
67  vtkGetMacro(ShrinkFactor, double);
69 
70 protected:
71  vtkShrinkPolyData(double sf = 0.5);
72  ~vtkShrinkPolyData() override = default;
73 
75  double ShrinkFactor;
76 
77 private:
78  vtkShrinkPolyData(const vtkShrinkPolyData&) = delete;
79  void operator=(const vtkShrinkPolyData&) = delete;
80 };
81 
82 VTK_ABI_NAMESPACE_END
83 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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()