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=========================================================================*/
113#ifndef vtkExtractSurface_h
114#define vtkExtractSurface_h
115
116#include "vtkContourValues.h" // Passes calls through
117#include "vtkFiltersPointsModule.h" // For export macro
118#include "vtkPolyDataAlgorithm.h"
119
120class vtkImageData;
121
122class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
123{
124public:
126
132 void PrintSelf(ostream& os, vtkIndent indent) override;
134
136
142 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
143 vtkGetMacro(Radius, double);
145
147
151 vtkSetMacro(HoleFilling, bool);
152 vtkGetMacro(HoleFilling, bool);
153 vtkBooleanMacro(HoleFilling, bool);
155
157
163 vtkSetMacro(ComputeNormals, vtkTypeBool);
164 vtkGetMacro(ComputeNormals, vtkTypeBool);
165 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
167
169
177 vtkSetMacro(ComputeGradients, vtkTypeBool);
178 vtkGetMacro(ComputeGradients, vtkTypeBool);
179 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
181
182protected:
185
186 double Radius;
190
193 int FillInputPortInformation(int port, vtkInformation* info) override;
194
195private:
196 vtkExtractSurface(const vtkExtractSurface&) = delete;
197 void operator=(const vtkExtractSurface&) = delete;
198};
199
200#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 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
a simple class to control print indentation
Definition vtkIndent.h:49
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
int vtkTypeBool
Definition vtkABI.h:69
#define VTK_FLOAT_MAX
Definition vtkType.h:163