VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Filters
General
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
50
class
VTKFILTERSGENERAL_EXPORT
vtkShrinkPolyData
:
public
vtkPolyDataAlgorithm
51
{
52
public
:
53
static
vtkShrinkPolyData
*
New
();
54
vtkTypeMacro(
vtkShrinkPolyData
,
vtkPolyDataAlgorithm
);
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);
69
~vtkShrinkPolyData
() {};
70
71
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
72
double
ShrinkFactor
;
73
private
:
74
vtkShrinkPolyData
(
const
vtkShrinkPolyData
&);
// Not implemented.
75
void
operator=(
const
vtkShrinkPolyData
&);
// Not implemented.
76
};
77
78
#endif
Generated on Thu May 24 2012 22:22:16 for VTK by
1.8.1