VTK
dox
Filters
Points
vtkExtractSurface.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExtractSurface.h
5
6
Copyright (c) Kitware, Inc.
7
All rights reserved.
8
See LICENSE file 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
=========================================================================*/
92
#ifndef vtkExtractSurface_h
93
#define vtkExtractSurface_h
94
95
#include "vtkFiltersPointsModule.h"
// For export macro
96
#include "
vtkPolyDataAlgorithm.h
"
97
#include "
vtkContourValues.h
"
// Passes calls through
98
99
class
vtkImageData
;
100
101
class
VTKFILTERSPOINTS_EXPORT
vtkExtractSurface
:
public
vtkPolyDataAlgorithm
102
{
103
public
:
105
109
static
vtkExtractSurface
*
New
();
110
vtkTypeMacro(
vtkExtractSurface
,
vtkPolyDataAlgorithm
);
111
void
PrintSelf
(ostream& os,
vtkIndent
indent);
113
115
121
vtkSetClampMacro(Radius,
double
,0.0,
VTK_FLOAT_MAX
);
122
vtkGetMacro(Radius,
double
);
124
126
130
vtkSetMacro
(HoleFilling,
bool
);
131
vtkGetMacro(HoleFilling,
bool
);
132
vtkBooleanMacro
(HoleFilling,
bool
);
134
136
142
vtkSetMacro
(ComputeNormals,
int
);
143
vtkGetMacro(ComputeNormals,
int
);
144
vtkBooleanMacro
(ComputeNormals,
int
);
146
148
156
vtkSetMacro
(ComputeGradients,
int
);
157
vtkGetMacro(ComputeGradients,
int
);
158
vtkBooleanMacro
(ComputeGradients,
int
);
160
161
protected
:
162
vtkExtractSurface
();
163
~vtkExtractSurface
();
164
165
double
Radius
;
166
bool
HoleFilling
;
167
int
ComputeNormals
;
168
int
ComputeGradients
;
169
170
virtual
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
171
vtkInformationVector
*);
172
virtual
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
173
vtkInformationVector
*);
174
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
175
176
private
:
177
vtkExtractSurface
(
const
vtkExtractSurface
&) VTK_DELETE_FUNCTION;
178
void
operator=(
const
vtkExtractSurface
&) VTK_DELETE_FUNCTION;
179
};
180
181
#endif
vtkExtractSurface::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkExtractSurface::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractSurface::ComputeNormals
int ComputeNormals
Definition:
vtkExtractSurface.h:167
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:42
vtkExtractSurface::~vtkExtractSurface
~vtkExtractSurface()
vtkPolyDataAlgorithm.h
vtkExtractSurface::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkExtractSurface::HoleFilling
bool HoleFilling
Definition:
vtkExtractSurface.h:166
vtkExtractSurface::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkImageData
topologically and geometrically regular array of data
Definition:
vtkImageData.h:46
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkExtractSurface::New
static vtkExtractSurface * New()
Standard methods for instantiating the class, providing type information, and printing.
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition:
vtkType.h:161
vtkContourValues.h
vtkExtractSurface
generate zero-crossing isosurface from truncated signed distance volume
Definition:
vtkExtractSurface.h:102
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkExtractSurface::vtkExtractSurface
vtkExtractSurface()
vtkExtractSurface::Radius
double Radius
Definition:
vtkExtractSurface.h:165
vtkExtractSurface::ComputeGradients
int ComputeGradients
Definition:
vtkExtractSurface.h:168
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:45
Generated by
1.8.20