VTK  9.4.20241121
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
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
138VTK_ABI_NAMESPACE_BEGIN
139class vtkImageData;
140
141class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
142{
143public:
145
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
201protected:
204
205 double Radius;
209
212 int FillInputPortInformation(int port, vtkInformation* info) override;
213
214private:
215 vtkExtractSurface(const vtkExtractSurface&) = delete;
216 void operator=(const vtkExtractSurface&) = delete;
217};
218
219VTK_ABI_NAMESPACE_END
220#endif
generate zero-crossing isosurface from truncated signed distance volume
static vtkExtractSurface * New()
Standard methods for instantiating the class, providing type information, and printing.
~vtkExtractSurface() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool ComputeGradients
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiating the class, providing type information, and printing.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
topologically and geometrically regular array of data
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:64
#define VTK_FLOAT_MAX
Definition vtkType.h:152