VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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 "
vtkUnstructuredGridAlgorithm.h
"
42
43
class
VTK_GRAPHICS_EXPORT
vtkShrinkFilter
:
public
vtkUnstructuredGridAlgorithm
44
{
45
public
:
46
static
vtkShrinkFilter
*
New
();
47
vtkTypeMacro(
vtkShrinkFilter
,
vtkUnstructuredGridAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent);
49
51
52
vtkSetClampMacro(ShrinkFactor,
double
, 0.0, 1.0);
53
vtkGetMacro(ShrinkFactor,
double
);
55
56
protected
:
57
vtkShrinkFilter
();
58
~
vtkShrinkFilter
();
59
60
// Override to specify support for any vtkDataSet input type.
61
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
62
63
// Main implementation.
64
virtual
int
RequestData
(
vtkInformation
*,
65
vtkInformationVector
**,
66
vtkInformationVector
*);
67
68
double
ShrinkFactor
;
69
70
private
:
71
vtkShrinkFilter
(
const
vtkShrinkFilter
&);
// Not implemented.
72
void
operator=(
const
vtkShrinkFilter
&);
// Not implemented.
73
};
74
75
#endif
Generated on Sun Sep 9 2012 13:03:31 for VTK by
1.8.1.2