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
101#ifndef vtkExtractSurface_h
102#define vtkExtractSurface_h
103
104#include "vtkContourValues.h" // Passes calls through
105#include "vtkFiltersPointsModule.h" // For export macro
106#include "vtkPolyDataAlgorithm.h"
107
108VTK_ABI_NAMESPACE_BEGIN
109class vtkImageData;
110
111class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
112{
113public:
115
121 void PrintSelf(ostream& os, vtkIndent indent) override;
123
125
131 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
132 vtkGetMacro(Radius, double);
134
136
140 vtkSetMacro(HoleFilling, bool);
141 vtkGetMacro(HoleFilling, bool);
142 vtkBooleanMacro(HoleFilling, bool);
144
146
152 vtkSetMacro(ComputeNormals, vtkTypeBool);
153 vtkGetMacro(ComputeNormals, vtkTypeBool);
154 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
156
158
166 vtkSetMacro(ComputeGradients, vtkTypeBool);
167 vtkGetMacro(ComputeGradients, vtkTypeBool);
168 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
170
171protected:
174
175 double Radius;
179
182 int FillInputPortInformation(int port, vtkInformation* info) override;
183
184private:
185 vtkExtractSurface(const vtkExtractSurface&) = delete;
186 void operator=(const vtkExtractSurface&) = delete;
187};
188
189VTK_ABI_NAMESPACE_END
190#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:38
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