VTK
9.2.6
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
104
#ifndef vtkExtractSurface_h
105
#define vtkExtractSurface_h
106
107
#include "
vtkContourValues.h
"
// Passes calls through
108
#include "vtkFiltersPointsModule.h"
// For export macro
109
#include "
vtkPolyDataAlgorithm.h
"
110
111
class
vtkImageData
;
112
113
class
VTKFILTERSPOINTS_EXPORT
vtkExtractSurface
:
public
vtkPolyDataAlgorithm
114
{
115
public
:
117
121
static
vtkExtractSurface
*
New
();
122
vtkTypeMacro(
vtkExtractSurface
,
vtkPolyDataAlgorithm
);
123
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
125
127
133
vtkSetClampMacro(Radius,
double
, 0.0,
VTK_FLOAT_MAX
);
134
vtkGetMacro(Radius,
double
);
136
138
142
vtkSetMacro(HoleFilling,
bool
);
143
vtkGetMacro(HoleFilling,
bool
);
144
vtkBooleanMacro(HoleFilling,
bool
);
146
148
154
vtkSetMacro(ComputeNormals,
vtkTypeBool
);
155
vtkGetMacro(ComputeNormals,
vtkTypeBool
);
156
vtkBooleanMacro(ComputeNormals,
vtkTypeBool
);
158
160
168
vtkSetMacro(ComputeGradients,
vtkTypeBool
);
169
vtkGetMacro(ComputeGradients,
vtkTypeBool
);
170
vtkBooleanMacro(ComputeGradients,
vtkTypeBool
);
172
173
protected
:
174
vtkExtractSurface
();
175
~vtkExtractSurface
()
override
;
176
177
double
Radius
;
178
bool
HoleFilling
;
179
vtkTypeBool
ComputeNormals
;
180
vtkTypeBool
ComputeGradients
;
181
182
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
183
int
RequestUpdateExtent
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
184
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
185
186
private
:
187
vtkExtractSurface
(
const
vtkExtractSurface
&) =
delete
;
188
void
operator=(
const
vtkExtractSurface
&) =
delete
;
189
};
190
191
#endif
vtkExtractSurface
generate zero-crossing isosurface from truncated signed distance volume
Definition
vtkExtractSurface.h:114
vtkExtractSurface::New
static vtkExtractSurface * New()
Standard methods for instantiating the class, providing type information, and printing.
vtkExtractSurface::Radius
double Radius
Definition
vtkExtractSurface.h:177
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:179
vtkExtractSurface::HoleFilling
bool HoleFilling
Definition
vtkExtractSurface.h:178
vtkExtractSurface::ComputeGradients
vtkTypeBool ComputeGradients
Definition
vtkExtractSurface.h:180
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:54
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition
vtkPolyDataAlgorithm.h:45
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkContourValues.h
vtkPolyDataAlgorithm.h
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition
vtkType.h:163
Generated on Fri Jun 7 2024 00:00:00 for VTK by
1.11.0