Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkShrinkPolyData.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkShrinkPolyData.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00046 #ifndef __vtkShrinkPolyData_h 00047 #define __vtkShrinkPolyData_h 00048 00049 #include "vtkPolyDataToPolyDataFilter.h" 00050 00051 class VTK_GRAPHICS_EXPORT vtkShrinkPolyData : public vtkPolyDataToPolyDataFilter 00052 { 00053 public: 00054 static vtkShrinkPolyData *New(); 00055 vtkTypeRevisionMacro(vtkShrinkPolyData,vtkPolyDataToPolyDataFilter); 00056 void PrintSelf(ostream& os, vtkIndent indent); 00057 00059 00060 vtkSetClampMacro(ShrinkFactor,float,0.0,1.0); 00062 00064 00065 vtkGetMacro(ShrinkFactor,float); 00067 00068 protected: 00069 vtkShrinkPolyData(float sf=0.5); 00070 ~vtkShrinkPolyData() {}; 00071 00072 void Execute(); 00073 float ShrinkFactor; 00074 private: 00075 vtkShrinkPolyData(const vtkShrinkPolyData&); // Not implemented. 00076 void operator=(const vtkShrinkPolyData&); // Not implemented. 00077 }; 00078 00079 #endif