VTK  9.3.0
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
92#ifndef vtkExtractSurface_h
93#define vtkExtractSurface_h
94
95#include "vtkContourValues.h" // Passes calls through
96#include "vtkFiltersPointsModule.h" // For export macro
98
99VTK_ABI_NAMESPACE_BEGIN
100class vtkImageData;
101
102class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
103{
104public:
106
112 void PrintSelf(ostream& os, vtkIndent indent) override;
114
116
122 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
123 vtkGetMacro(Radius, double);
125
127
131 vtkSetMacro(HoleFilling, bool);
132 vtkGetMacro(HoleFilling, bool);
133 vtkBooleanMacro(HoleFilling, bool);
135
137
143 vtkSetMacro(ComputeNormals, vtkTypeBool);
144 vtkGetMacro(ComputeNormals, vtkTypeBool);
145 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
147
149
157 vtkSetMacro(ComputeGradients, vtkTypeBool);
158 vtkGetMacro(ComputeGradients, vtkTypeBool);
159 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
161
162protected:
165
166 double Radius;
170
173 int FillInputPortInformation(int port, vtkInformation* info) override;
174
175private:
176 vtkExtractSurface(const vtkExtractSurface&) = delete;
177 void operator=(const vtkExtractSurface&) = delete;
178};
179
180VTK_ABI_NAMESPACE_END
181#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:29
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