VTK  9.0.1
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 =========================================================================*/
101 #ifndef vtkExtractSurface_h
102 #define vtkExtractSurface_h
103 
104 #include "vtkContourValues.h" // Passes calls through
105 #include "vtkFiltersPointsModule.h" // For export macro
106 #include "vtkPolyDataAlgorithm.h"
107 
108 class vtkImageData;
109 
110 class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
111 {
112 public:
114 
118  static vtkExtractSurface* New();
120  void PrintSelf(ostream& os, vtkIndent indent) override;
122 
124 
130  vtkSetClampMacro(Radius, double, 0.0, VTK_FLOAT_MAX);
131  vtkGetMacro(Radius, double);
133 
135 
139  vtkSetMacro(HoleFilling, bool);
140  vtkGetMacro(HoleFilling, bool);
141  vtkBooleanMacro(HoleFilling, bool);
143 
145 
151  vtkSetMacro(ComputeNormals, vtkTypeBool);
152  vtkGetMacro(ComputeNormals, vtkTypeBool);
153  vtkBooleanMacro(ComputeNormals, vtkTypeBool);
155 
157 
165  vtkSetMacro(ComputeGradients, vtkTypeBool);
166  vtkGetMacro(ComputeGradients, vtkTypeBool);
167  vtkBooleanMacro(ComputeGradients, vtkTypeBool);
169 
170 protected:
172  ~vtkExtractSurface() override;
173 
174  double Radius;
178 
181  int FillInputPortInformation(int port, vtkInformation* info) override;
182 
183 private:
184  vtkExtractSurface(const vtkExtractSurface&) = delete;
185  void operator=(const vtkExtractSurface&) = delete;
186 };
187 
188 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::RequestUpdateExtent
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkExtractSurface::ComputeNormals
vtkTypeBool ComputeNormals
Definition: vtkExtractSurface.h:176
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkExtractSurface::HoleFilling
bool HoleFilling
Definition: vtkExtractSurface.h:175
vtkExtractSurface::ComputeGradients
vtkTypeBool ComputeGradients
Definition: vtkExtractSurface.h:177
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:41
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition: vtkType.h:163
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkContourValues.h
vtkExtractSurface
generate zero-crossing isosurface from truncated signed distance volume
Definition: vtkExtractSurface.h:110
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkExtractSurface::Radius
double Radius
Definition: vtkExtractSurface.h:174
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41