• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

dox/Graphics/vtkShrinkFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkShrinkFilter.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 =========================================================================*/
00035 #ifndef __vtkShrinkFilter_h
00036 #define __vtkShrinkFilter_h
00037 
00038 #include "vtkUnstructuredGridAlgorithm.h"
00039 
00040 class VTK_GRAPHICS_EXPORT vtkShrinkFilter : public vtkUnstructuredGridAlgorithm
00041 {
00042 public:
00043   static vtkShrinkFilter *New();
00044   vtkTypeRevisionMacro(vtkShrinkFilter,vtkUnstructuredGridAlgorithm);
00045   void PrintSelf(ostream& os, vtkIndent indent);
00046 
00048 
00049   vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
00050   vtkGetMacro(ShrinkFactor, double);
00052 
00053 protected:
00054   vtkShrinkFilter();
00055   ~vtkShrinkFilter();
00056 
00057   // Override to specify support for any vtkDataSet input type.
00058   virtual int FillInputPortInformation(int port, vtkInformation* info);
00059 
00060   // Main implementation.
00061   virtual int RequestData(vtkInformation*,
00062                           vtkInformationVector**,
00063                           vtkInformationVector*);
00064 
00065   double ShrinkFactor;
00066 
00067 private:
00068   vtkShrinkFilter(const vtkShrinkFilter&);  // Not implemented.
00069   void operator=(const vtkShrinkFilter&);  // Not implemented.
00070 };
00071 
00072 #endif

Generated by  doxygen 1.7.1