VTK  9.3.1
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
97 #include "vtkPolyDataAlgorithm.h"
98 
99 VTK_ABI_NAMESPACE_BEGIN
100 class vtkImageData;
101 
102 class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
103 {
104 public:
106 
110  static vtkExtractSurface* New();
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 
162 protected:
164  ~vtkExtractSurface() override;
165 
166  double Radius;
170 
173  int FillInputPortInformation(int port, vtkInformation* info) override;
174 
175 private:
176  vtkExtractSurface(const vtkExtractSurface&) = delete;
177  void operator=(const vtkExtractSurface&) = delete;
178 };
179 
180 VTK_ABI_NAMESPACE_END
181 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeBool ComputeNormals
vtkTypeBool ComputeGradients
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
#define VTK_FLOAT_MAX
Definition: vtkType.h:152
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
topologically and geometrically regular array of data
Definition: vtkImageData.h:42
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
generate zero-crossing isosurface from truncated signed distance volume