VTK
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
=========================================================================*/
39
#ifndef vtkShrinkFilter_h
40
#define vtkShrinkFilter_h
41
42
#include "vtkFiltersGeneralModule.h"
// For export macro
43
#include "
vtkUnstructuredGridAlgorithm.h
"
44
45
class
VTKFILTERSGENERAL_EXPORT
vtkShrinkFilter
:
public
vtkUnstructuredGridAlgorithm
46
{
47
public
:
48
static
vtkShrinkFilter
*
New
();
49
vtkTypeMacro(
vtkShrinkFilter
,
vtkUnstructuredGridAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
51
53
56
vtkSetClampMacro(ShrinkFactor,
double
, 0.0, 1.0);
57
vtkGetMacro(ShrinkFactor,
double
);
59
60
protected
:
61
vtkShrinkFilter
();
62
~
vtkShrinkFilter
() VTK_OVERRIDE;
63
64
// Override to specify support for any vtkDataSet input type.
65
int
FillInputPortInformation(
int
port
,
vtkInformation
*
info
) VTK_OVERRIDE;
66
67
// Main implementation.
68
int
RequestData(
vtkInformation
*,
69
vtkInformationVector
**,
70
vtkInformationVector
*) VTK_OVERRIDE;
71
72
double
ShrinkFactor;
73
74
private:
75
vtkShrinkFilter
(const
vtkShrinkFilter
&) VTK_DELETE_FUNCTION;
76
void
operator=(const
vtkShrinkFilter
&) VTK_DELETE_FUNCTION;
77
};
78
79
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkX3D::port
Definition:
vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkX3D::info
Definition:
vtkX3D.h:376
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition:
vtkUnstructuredGridAlgorithm.h:40
vtkShrinkFilter
shrink cells composing an arbitrary data set
Definition:
vtkShrinkFilter.h:45
Generated by
1.8.16