VTK
vtkFillHolesFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFillHolesFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
39 #ifndef vtkFillHolesFilter_h
40 #define vtkFillHolesFilter_h
41 
42 #include "vtkFiltersModelingModule.h" // For export macro
43 #include "vtkPolyDataAlgorithm.h"
44 
46 
47 class VTKFILTERSMODELING_EXPORT vtkFillHolesFilter : public vtkPolyDataAlgorithm
48 {
49 public:
51 
54  static vtkFillHolesFilter *New();
56  void PrintSelf(ostream& os, vtkIndent indent) override;
58 
60 
66  vtkSetClampMacro(HoleSize, double, 0.0, VTK_FLOAT_MAX);
67  vtkGetMacro(HoleSize, double);
69 
70 protected:
72  ~vtkFillHolesFilter() override;
73 
75 
76  double HoleSize;
77 
78 private:
79  vtkFillHolesFilter(const vtkFillHolesFilter&) = delete;
80  void operator=(const vtkFillHolesFilter&) = delete;
81 };
82 
83 #endif
identify and fill holes in meshes
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
static vtkPolyDataAlgorithm * New()
#define VTK_FLOAT_MAX
Definition: vtkType.h:167
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
superclass for all geometric transformations
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.