VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkPolyDataAlgorithm.h
"
48
49
class
VTK_GRAPHICS_EXPORT
vtkShrinkPolyData
:
public
vtkPolyDataAlgorithm
50
{
51
public
:
52
static
vtkShrinkPolyData
*
New
();
53
vtkTypeMacro(
vtkShrinkPolyData
,
vtkPolyDataAlgorithm
);
54
void
PrintSelf
(ostream& os,
vtkIndent
indent);
55
57
58
vtkSetClampMacro(ShrinkFactor,
double
,0.0,1.0);
60
62
63
vtkGetMacro(ShrinkFactor,
double
);
65
66
protected
:
67
vtkShrinkPolyData
(
double
sf=0.5);
68
~vtkShrinkPolyData
() {};
69
70
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
71
double
ShrinkFactor
;
72
private
:
73
vtkShrinkPolyData
(
const
vtkShrinkPolyData
&);
// Not implemented.
74
void
operator=(
const
vtkShrinkPolyData
&);
// Not implemented.
75
};
76
77
#endif
Generated on Fri Aug 2 2013 12:19:50 for VTK by
1.8.4