VTK
vtkShrinkPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkShrinkPolyData.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 =========================================================================*/
44 #ifndef vtkShrinkPolyData_h
45 #define vtkShrinkPolyData_h
46 
47 #include "vtkFiltersGeneralModule.h" // For export macro
48 #include "vtkPolyDataAlgorithm.h"
49 
51 {
52 public:
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
59  vtkSetClampMacro(ShrinkFactor,double,0.0,1.0);
61 
63 
64  vtkGetMacro(ShrinkFactor,double);
66 
67 protected:
68  vtkShrinkPolyData(double sf=0.5);
70 
72  double ShrinkFactor;
73 private:
74  vtkShrinkPolyData(const vtkShrinkPolyData&); // Not implemented.
75  void operator=(const vtkShrinkPolyData&); // Not implemented.
76 };
77 
78 #endif
vtkShrinkPolyData::vtkShrinkPolyData
vtkShrinkPolyData(double sf=0.5)
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkShrinkPolyData
shrink cells composing PolyData
Definition: vtkShrinkPolyData.h:51
vtkPolyDataAlgorithm.h
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkShrinkPolyData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFiltersGeneralModule.h
vtkShrinkPolyData::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkShrinkPolyData::New
static vtkShrinkPolyData * New()
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkShrinkPolyData::ShrinkFactor
double ShrinkFactor
Definition: vtkShrinkPolyData.h:72
vtkShrinkPolyData::~vtkShrinkPolyData
~vtkShrinkPolyData()
Definition: vtkShrinkPolyData.h:69
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44