VTK
vtkShrinkFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkShrinkFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
38 #ifndef __vtkShrinkFilter_h
39 #define __vtkShrinkFilter_h
40 
42 
44 {
45 public:
46  static vtkShrinkFilter *New();
48  void PrintSelf(ostream& os, vtkIndent indent);
49 
51 
52  vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
53  vtkGetMacro(ShrinkFactor, double);
55 
56 protected:
58  ~vtkShrinkFilter();
59 
60  // Override to specify support for any vtkDataSet input type.
62 
63  // Main implementation.
64  virtual int RequestData(vtkInformation*,
67 
68  double ShrinkFactor;
69 
70 private:
71  vtkShrinkFilter(const vtkShrinkFilter&); // Not implemented.
72  void operator=(const vtkShrinkFilter&); // Not implemented.
73 };
74 
75 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_GRAPHICS_EXPORT
Store vtkAlgorithm input/output information.
static vtkUnstructuredGridAlgorithm * New()
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only unstructured grid as output.
Store zero or more vtkInformation instances.
shrink cells composing an arbitrary data set