VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
41 #ifndef __vtkFillHolesFilter_h
42 #define __vtkFillHolesFilter_h
43 
44 #include "vtkFiltersModelingModule.h" // For export macro
45 #include "vtkPolyDataAlgorithm.h"
46 
48 
49 class VTKFILTERSMODELING_EXPORT vtkFillHolesFilter : public vtkPolyDataAlgorithm
50 {
51 public:
53 
54  static vtkFillHolesFilter *New();
56  void PrintSelf(ostream& os, vtkIndent indent);
58 
60 
64  vtkSetClampMacro(HoleSize, double, 0.0, VTK_FLOAT_MAX);
65  vtkGetMacro(HoleSize, double);
67 
68 protected:
71 
72  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
73 
74  double HoleSize;
75 
76 private:
77  vtkFillHolesFilter(const vtkFillHolesFilter&); // Not implemented.
78  void operator=(const vtkFillHolesFilter&); // Not implemented.
79 };
80 
81 #endif
identify and fill holes in meshes
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
superclass for all geometric transformations