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 "vtkPolyDataAlgorithm.h"
48 
50 {
51 public:
52  static vtkShrinkPolyData *New();
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
58  vtkSetClampMacro(ShrinkFactor,double,0.0,1.0);
60 
62 
63  vtkGetMacro(ShrinkFactor,double);
65 
66 protected:
67  vtkShrinkPolyData(double sf=0.5);
69 
71  double ShrinkFactor;
72 private:
73  vtkShrinkPolyData(const vtkShrinkPolyData&); // Not implemented.
74  void operator=(const vtkShrinkPolyData&); // Not implemented.
75 };
76 
77 #endif