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
38
39VTK_ABI_NAMESPACE_BEGIN
40class VTKFILTERSGENERAL_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm
41{
42public:
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
61protected:
62 vtkShrinkPolyData(double sf = 0.5);
63 ~vtkShrinkPolyData() override = default;
64
67
68private:
69 vtkShrinkPolyData(const vtkShrinkPolyData&) = delete;
70 void operator=(const vtkShrinkPolyData&) = delete;
71};
72
73VTK_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
static vtkShrinkPolyData * New()
~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.