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

vtkShrinkPolyData.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkShrinkPolyData.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented.
00086   void operator=(const vtkShrinkPolyData&);  // Not implemented.
00087 };
00088 
00089 #endif