Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00044 #ifndef __vtkShrinkPolyData_h
00045 #define __vtkShrinkPolyData_h
00046 
00047 #include "vtkPolyDataAlgorithm.h"
00048 
00049 class VTK_GRAPHICS_EXPORT vtkShrinkPolyData : public vtkPolyDataAlgorithm 
00050 {
00051 public:
00052   static vtkShrinkPolyData *New();
00053   vtkTypeRevisionMacro(vtkShrinkPolyData,vtkPolyDataAlgorithm);
00054   void PrintSelf(ostream& os, vtkIndent indent);
00055 
00057 
00058   vtkSetClampMacro(ShrinkFactor,double,0.0,1.0);
00060 
00062 
00063   vtkGetMacro(ShrinkFactor,double);
00065 
00066 protected:
00067   vtkShrinkPolyData(double sf=0.5);
00068   ~vtkShrinkPolyData() {};
00069 
00070   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00071   double ShrinkFactor;
00072 private:
00073   vtkShrinkPolyData(const vtkShrinkPolyData&);  // Not implemented.
00074   void operator=(const vtkShrinkPolyData&);  // Not implemented.
00075 };
00076 
00077 #endif

Generated on Mon Jan 21 23:07:26 2008 for VTK by  doxygen 1.4.3-20050530