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=========================================================================*/
103
104#ifndef vtkExtractSurface_h
105#define vtkExtractSurface_h
106
107#include "vtkContourValues.h" // Passes calls through
108#include "vtkFiltersPointsModule.h" // For export macro
109#include "vtkPolyDataAlgorithm.h"
110
111class vtkImageData;
112
113class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
114{
115public:
117
123 void PrintSelf(ostream& os, vtkIndent indent) override;
125
127
133 vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
134 vtkGetMacro(Radius, double);
136
138
142 vtkSetMacro(HoleFilling, bool);
143 vtkGetMacro(HoleFilling, bool);
144 vtkBooleanMacro(HoleFilling, bool);
146
148
156 vtkBooleanMacro(ComputeNormals, vtkTypeBool);
158
160
170 vtkBooleanMacro(ComputeGradients, vtkTypeBool);
172
173protected:
176
177 double Radius;
181
184 int FillInputPortInformation(int port, vtkInformation* info) override;
185
186private:
187 vtkExtractSurface(const vtkExtractSurface&) = delete;
188 void operator=(const vtkExtractSurface&) = delete;
189};
190
191#endif
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:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkTypeBool
Definition vtkABI.h:69
#define VTK_FLOAT_MAX
Definition vtkType.h:163