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 
108 VTK_ABI_NAMESPACE_BEGIN
109 class vtkImageData;
110 
111 class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
112 {
113 public:
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 
171 protected:
173  ~vtkExtractSurface() override;
174 
175  double Radius;
179 
183 
184 private:
185  vtkExtractSurface(const vtkExtractSurface&) = delete;
186  void operator=(const vtkExtractSurface&) = delete;
187 };
188 
189 VTK_ABI_NAMESPACE_END
190 #endif
generate zero-crossing isosurface from truncated signed distance volume
~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 ComputeNormals
static vtkExtractSurface * New()
Standard methods for instantiating the class, providing type information, and printing.
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
Definition: vtkImageData.h:52
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.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
int vtkTypeBool
Definition: vtkABI.h:64
#define VTK_FLOAT_MAX
Definition: vtkType.h:152