VTK  9.1.0
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=========================================================================*/
140#ifndef vtkExtractSurface_h
141#define vtkExtractSurface_h
142
143#include "vtkContourValues.h" // Passes calls through
144#include "vtkFiltersPointsModule.h" // For export macro
145#include "vtkPolyDataAlgorithm.h"
146
147class vtkImageData;
148
149class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
150{
151public:
153
159 void PrintSelf(ostream& os, vtkIndent indent) override;
161
163
169 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
170 vtkGetMacro(Radius, double);
172
174
178 vtkSetMacro(HoleFilling, bool);
179 vtkGetMacro(HoleFilling, bool);
180 vtkBooleanMacro(HoleFilling, bool);
182
184
190 vtkSetMacro(ComputeNormals, vtkTypeBool);
191 vtkGetMacro(ComputeNormals, vtkTypeBool);
192 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
194
196
204 vtkSetMacro(ComputeGradients, vtkTypeBool);
205 vtkGetMacro(ComputeGradients, vtkTypeBool);
206 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
208
209protected:
212
213 double Radius;
217
221
222private:
223 vtkExtractSurface(const vtkExtractSurface&) = delete;
224 void operator=(const vtkExtractSurface&) = delete;
225};
226
227#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:157
a simple class to control print indentation
Definition: vtkIndent.h:113
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