VTK
dox
Filters
General
vtkDensifyPolyData.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDensifyPolyData.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
=========================================================================*/
15
36
#ifndef vtkDensifyPolyData_h
37
#define vtkDensifyPolyData_h
38
39
#include "vtkFiltersGeneralModule.h"
// For export macro
40
#include "
vtkPolyDataAlgorithm.h
"
41
42
class
VTKFILTERSGENERAL_EXPORT
vtkDensifyPolyData
:
public
vtkPolyDataAlgorithm
43
{
44
public
:
45
vtkTypeMacro(
vtkDensifyPolyData
,
vtkPolyDataAlgorithm
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
47
static
vtkDensifyPolyData
*
New
();
48
50
53
vtkSetMacro
( NumberOfSubdivisions,
unsigned
int
);
54
vtkGetMacro( NumberOfSubdivisions,
unsigned
int
);
56
57
protected
:
58
vtkDensifyPolyData
();
59
~vtkDensifyPolyData
() VTK_OVERRIDE;
60
61
int
RequestData(
vtkInformation
*,
62
vtkInformationVector
**,
63
vtkInformationVector
*) VTK_OVERRIDE;
64
65
unsigned
int
NumberOfSubdivisions;
66
67
private:
68
int
FillInputPortInformation(
int
,
vtkInformation
*) VTK_OVERRIDE;
69
70
vtkDensifyPolyData
(const
vtkDensifyPolyData
&) VTK_DELETE_FUNCTION;
71
void
operator=(const
vtkDensifyPolyData
&) VTK_DELETE_FUNCTION;
72
};
73
74
#endif
75
76
vtkDensifyPolyData::~vtkDensifyPolyData
~vtkDensifyPolyData() override
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkPolyDataAlgorithm.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkDensifyPolyData::vtkDensifyPolyData
vtkDensifyPolyData()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkDensifyPolyData
Densify the input by adding points at the centroid.
Definition:
vtkDensifyPolyData.h:43
vtkDensifyPolyData::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDensifyPolyData::New
static vtkDensifyPolyData * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:45
Generated by
1.8.20