VTK
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
=========================================================================*/
39
#ifndef vtkShrinkPolyData_h
40
#define vtkShrinkPolyData_h
41
42
#include "vtkFiltersGeneralModule.h"
// For export macro
43
#include "
vtkPolyDataAlgorithm.h
"
44
45
class
VTKFILTERSGENERAL_EXPORT
vtkShrinkPolyData
:
public
vtkPolyDataAlgorithm
46
{
47
public
:
48
static
vtkShrinkPolyData
*
New
();
49
vtkTypeMacro(
vtkShrinkPolyData
,
vtkPolyDataAlgorithm
);
50
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
51
53
56
vtkSetClampMacro(ShrinkFactor,
double
,0.0,1.0);
58
60
63
vtkGetMacro(ShrinkFactor,
double
);
65
66
protected
:
67
vtkShrinkPolyData
(
double
sf=0.5);
68
~vtkShrinkPolyData
()
override
{}
69
70
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
71
double
ShrinkFactor
;
72
private
:
73
vtkShrinkPolyData
(
const
vtkShrinkPolyData
&) =
delete
;
74
void
operator=(
const
vtkShrinkPolyData
&) =
delete
;
75
};
76
77
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkShrinkPolyData
shrink cells composing PolyData
Definition:
vtkShrinkPolyData.h:45
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkShrinkPolyData::~vtkShrinkPolyData
~vtkShrinkPolyData() override
Definition:
vtkShrinkPolyData.h:68
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkShrinkPolyData::ShrinkFactor
double ShrinkFactor
Definition:
vtkShrinkPolyData.h:71
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:41
Generated by
1.8.16