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