VTK  9.1.0
vtkShrinkPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkShrinkPolyData.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=========================================================================*/
148#ifndef vtkShrinkPolyData_h
149#define vtkShrinkPolyData_h
150
151#include "vtkFiltersGeneralModule.h" // For export macro
152#include "vtkPolyDataAlgorithm.h"
153
154class VTKFILTERSGENERAL_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm
155{
156public:
159 void PrintSelf(ostream& os, vtkIndent indent) override;
160
162
165 vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
167
169
172 vtkGetMacro(ShrinkFactor, double);
174
175protected:
176 vtkShrinkPolyData(double sf = 0.5);
177 ~vtkShrinkPolyData() override = default;
178
181
182private:
183 vtkShrinkPolyData(const vtkShrinkPolyData&) = delete;
184 void operator=(const vtkShrinkPolyData&) = delete;
185};
186
187#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.