VTK
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 =========================================================================*/
44 #ifndef vtkShrinkPolyData_h
45 #define vtkShrinkPolyData_h
46 
47 #include "vtkFiltersGeneralModule.h" // For export macro
48 #include "vtkPolyDataAlgorithm.h"
49 
51 {
52 public:
53  static vtkShrinkPolyData *New();
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
59  vtkSetClampMacro(ShrinkFactor,double,0.0,1.0);
61 
63 
64  vtkGetMacro(ShrinkFactor,double);
66 
67 protected:
68  vtkShrinkPolyData(double sf=0.5);
70 
72  double ShrinkFactor;
73 private:
74  vtkShrinkPolyData(const vtkShrinkPolyData&); // Not implemented.
75  void operator=(const vtkShrinkPolyData&); // Not implemented.
76 };
77 
78 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
#define VTKFILTERSGENERAL_EXPORT
shrink cells composing PolyData
Store zero or more vtkInformation instances.