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