VTK
9.5.20251121
Filters
Points
vtkExtractSurface.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
130
131
#ifndef vtkExtractSurface_h
132
#define vtkExtractSurface_h
133
134
#include "
vtkContourValues.h
"
// Passes calls through
135
#include "vtkFiltersPointsModule.h"
// For export macro
136
#include "
vtkPolyDataAlgorithm.h
"
137
138
VTK_ABI_NAMESPACE_BEGIN
139
class
vtkImageData
;
140
141
class
VTKFILTERSPOINTS_EXPORT
vtkExtractSurface
:
public
vtkPolyDataAlgorithm
142
{
143
public
:
145
149
static
vtkExtractSurface
*
New
();
150
vtkTypeMacro(
vtkExtractSurface
,
vtkPolyDataAlgorithm
);
151
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
153
155
161
vtkSetClampMacro(
Radius
,
double
, 0.0,
VTK_FLOAT_MAX
);
162
vtkGetMacro(
Radius
,
double
);
164
166
170
vtkSetMacro(
HoleFilling
,
bool
);
171
vtkGetMacro(
HoleFilling
,
bool
);
172
vtkBooleanMacro(
HoleFilling
,
bool
);
174
176
182
vtkSetMacro(
ComputeNormals
,
vtkTypeBool
);
183
vtkGetMacro(
ComputeNormals
,
vtkTypeBool
);
184
vtkBooleanMacro(
ComputeNormals
,
vtkTypeBool
);
186
188
196
vtkSetMacro(
ComputeGradients
,
vtkTypeBool
);
197
vtkGetMacro(
ComputeGradients
,
vtkTypeBool
);
198
vtkBooleanMacro(
ComputeGradients
,
vtkTypeBool
);
200
201
protected
:
202
vtkExtractSurface
();
203
~vtkExtractSurface
()
override
;
204
205
double
Radius
;
206
bool
HoleFilling
;
207
vtkTypeBool
ComputeNormals
;
208
vtkTypeBool
ComputeGradients
;
209
210
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
211
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
212
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
213
214
private
:
215
vtkExtractSurface
(
const
vtkExtractSurface
&) =
delete
;
216
void
operator=(
const
vtkExtractSurface
&) =
delete
;
217
};
218
219
VTK_ABI_NAMESPACE_END
220
#endif
vtkExtractSurface::New
static vtkExtractSurface * New()
Standard methods for instantiating the class, providing type information, and printing.
vtkExtractSurface::Radius
double Radius
Definition
vtkExtractSurface.h:205
vtkExtractSurface::~vtkExtractSurface
~vtkExtractSurface() override
vtkExtractSurface::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSurface::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkExtractSurface::ComputeNormals
vtkTypeBool ComputeNormals
Definition
vtkExtractSurface.h:207
vtkExtractSurface::HoleFilling
bool HoleFilling
Definition
vtkExtractSurface.h:206
vtkExtractSurface::ComputeGradients
vtkTypeBool ComputeGradients
Definition
vtkExtractSurface.h:208
vtkExtractSurface::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating the class, providing type information, and printing.
vtkExtractSurface::vtkExtractSurface
vtkExtractSurface()
vtkExtractSurface::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkImageData
topologically and geometrically regular array of data
Definition
vtkImageData.h:155
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:142
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:173
vtkPolyDataAlgorithm::vtkPolyDataAlgorithm
vtkPolyDataAlgorithm()
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:64
vtkContourValues.h
vtkPolyDataAlgorithm.h
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition
vtkType.h:204
Generated on Fri Nov 21 2025 08:47:22 for VTK by
1.13.2