VTK  9.2.6
vtkExtractSurface.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkExtractSurface.h
5
6 Copyright (c) Kitware, Inc.
7 All rights reserved.
8 See LICENSE file for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
143#ifndef vtkExtractSurface_h
144#define vtkExtractSurface_h
145
146#include "vtkContourValues.h" // Passes calls through
147#include "vtkFiltersPointsModule.h" // For export macro
148#include "vtkPolyDataAlgorithm.h"
149
150class vtkImageData;
151
152class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
153{
154public:
156
162 void PrintSelf(ostream& os, vtkIndent indent) override;
164
166
172 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
173 vtkGetMacro(Radius, double);
175
177
181 vtkSetMacro(HoleFilling, bool);
182 vtkGetMacro(HoleFilling, bool);
183 vtkBooleanMacro(HoleFilling, bool);
185
187
193 vtkSetMacro(ComputeNormals, vtkTypeBool);
194 vtkGetMacro(ComputeNormals, vtkTypeBool);
195 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
197
199
207 vtkSetMacro(ComputeGradients, vtkTypeBool);
208 vtkGetMacro(ComputeGradients, vtkTypeBool);
209 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
211
212protected:
215
216 double Radius;
220
224
225private:
226 vtkExtractSurface(const vtkExtractSurface&) = delete;
227 void operator=(const vtkExtractSurface&) = delete;
228};
229
230#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 ComputeNormals
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:163
a simple class to control print indentation
Definition: vtkIndent.h:119
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_FLOAT_MAX
Definition: vtkType.h:163