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=========================================================================*/
110#ifndef vtkExtractSurface_h
111#define vtkExtractSurface_h
112
113#include "vtkContourValues.h" // Passes calls through
114#include "vtkFiltersPointsModule.h" // For export macro
115#include "vtkPolyDataAlgorithm.h"
116
117class vtkImageData;
118
119class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
120{
121public:
123
129 void PrintSelf(ostream& os, vtkIndent indent) override;
131
133
139 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
140 vtkGetMacro(Radius, double);
142
144
148 vtkSetMacro(HoleFilling, bool);
149 vtkGetMacro(HoleFilling, bool);
150 vtkBooleanMacro(HoleFilling, bool);
152
154
160 vtkSetMacro(ComputeNormals, vtkTypeBool);
161 vtkGetMacro(ComputeNormals, vtkTypeBool);
162 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
164
166
174 vtkSetMacro(ComputeGradients, vtkTypeBool);
175 vtkGetMacro(ComputeGradients, vtkTypeBool);
176 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
178
179protected:
182
183 double Radius;
187
191
192private:
193 vtkExtractSurface(const vtkExtractSurface&) = delete;
194 void operator=(const vtkExtractSurface&) = delete;
195};
196
197#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:57
a simple class to control print indentation
Definition: vtkIndent.h:43
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