vtkShrinkPolyData.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00056 #ifndef __vtkShrinkPolyData_h
00057 #define __vtkShrinkPolyData_h
00058
00059 #include "vtkPolyDataToPolyDataFilter.h"
00060
00061 class VTK_GRAPHICS_EXPORT vtkShrinkPolyData : public vtkPolyDataToPolyDataFilter
00062 {
00063 public:
00064 static vtkShrinkPolyData *New();
00065 vtkTypeRevisionMacro(vtkShrinkPolyData,vtkPolyDataToPolyDataFilter);
00066 void PrintSelf(ostream& os, vtkIndent indent);
00067
00069
00070 vtkSetClampMacro(ShrinkFactor,double,0.0,1.0);
00072
00074
00075 vtkGetMacro(ShrinkFactor,double);
00077
00078 protected:
00079 vtkShrinkPolyData(double sf=0.5);
00080 ~vtkShrinkPolyData() {};
00081
00082 void Execute();
00083 double ShrinkFactor;
00084 private:
00085 vtkShrinkPolyData(const vtkShrinkPolyData&);
00086 void operator=(const vtkShrinkPolyData&);
00087 };
00088
00089 #endif