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 
41 #include "vtkFiltersGeneralModule.h" // For export macro
43 
45 {
46 public:
47  static vtkShrinkFilter *New();
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52 
53  vtkSetClampMacro(ShrinkFactor, double, 0.0, 1.0);
54  vtkGetMacro(ShrinkFactor, double);
56 
57 protected:
60 
61  // Override to specify support for any vtkDataSet input type.
63 
64  // Main implementation.
68 
69  double ShrinkFactor;
70 
71 private:
72  vtkShrinkFilter(const vtkShrinkFilter&); // Not implemented.
73  void operator=(const vtkShrinkFilter&); // Not implemented.
74 };
75 
76 #endif
vtkShrinkFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkShrinkFilter::vtkShrinkFilter
vtkShrinkFilter()
vtkShrinkFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkShrinkFilter::~vtkShrinkFilter
~vtkShrinkFilter()
vtkShrinkFilter::ShrinkFactor
double ShrinkFactor
Definition: vtkShrinkFilter.h:69
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkFiltersGeneralModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkShrinkFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkShrinkFilter::New
static vtkShrinkFilter * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:40
vtkShrinkFilter
shrink cells composing an arbitrary data set
Definition: vtkShrinkFilter.h:45