VTK  9.1.0
vtkShrinkFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkShrinkFilter.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=========================================================================*/
42#ifndef vtkShrinkFilter_h
43#define vtkShrinkFilter_h
44
45#include "vtkFiltersGeneralModule.h" // For export macro
47
48class VTKFILTERSGENERAL_EXPORT vtkShrinkFilter : public vtkUnstructuredGridAlgorithm
49{
50public:
53 void PrintSelf(ostream& os, vtkIndent indent) override;
54
56
59 vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
60 vtkGetMacro(ShrinkFactor, double);
62
63protected:
65 ~vtkShrinkFilter() override;
66
67 // Override to specify support for any vtkDataSet input type.
69
70 // Main implementation.
72
74
75private:
76 vtkShrinkFilter(const vtkShrinkFilter&) = delete;
77 void operator=(const vtkShrinkFilter&) = delete;
78};
79
80#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
shrink cells composing an arbitrary data set
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkShrinkFilter * New()
~vtkShrinkFilter() override
Superclass for algorithms that produce only unstructured grid as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453