VTK
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 =========================================================================*/
104 #ifndef vtkExtractSurface_h
105 #define vtkExtractSurface_h
106 
107 #include "vtkFiltersPointsModule.h" // For export macro
108 #include "vtkPolyDataAlgorithm.h"
109 #include "vtkContourValues.h" // Passes calls through
110 
111 class vtkImageData;
112 
113 class VTKFILTERSPOINTS_EXPORT vtkExtractSurface : public vtkPolyDataAlgorithm
114 {
115 public:
117 
121  static vtkExtractSurface *New();
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 
154  vtkSetMacro(ComputeNormals,int);
155  vtkGetMacro(ComputeNormals,int);
156  vtkBooleanMacro(ComputeNormals,int);
158 
160 
168  vtkSetMacro(ComputeGradients,int);
169  vtkGetMacro(ComputeGradients,int);
170  vtkBooleanMacro(ComputeGradients,int);
172 
173 protected:
175  ~vtkExtractSurface() override;
176 
177  double Radius;
181 
183  vtkInformationVector *) override;
185  vtkInformationVector *) override;
186  int FillInputPortInformation(int port, vtkInformation *info) override;
187 
188 private:
189  vtkExtractSurface(const vtkExtractSurface&) = delete;
190  void operator=(const vtkExtractSurface&) = delete;
191 };
192 
193 #endif
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
#define VTK_FLOAT_MAX
Definition: vtkType.h:165
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
topologically and geometrically regular array of data
Definition: vtkImageData.h:45
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
generate zero-crossing isosurface from truncated signed distance volume