VTK: Filters/Modeling/vtkFillHolesFilter.h Source File

| VTK 9.3.1

vtkFillHolesFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
39 #ifndef vtkFillHolesFilter_h
40 #define vtkFillHolesFilter_h
41
42 #include "vtkFiltersModelingModule.h" // For export macro
43 #include "vtkPolyDataAlgorithm.h"
44
45 VTK_ABI_NAMESPACE_BEGIN
46 class vtkAbstractTransform;
47
48 class VTKFILTERSMODELING_EXPORT vtkFillHolesFilter : public vtkPolyDataAlgorithm
49 {
50 public:
52
55 static vtkFillHolesFilter* New();
56 vtkTypeMacro(vtkFillHolesFilter, vtkPolyDataAlgorithm);
57 void PrintSelf(ostream& os, vtkIndent indent) override;
59
61
67 vtkSetClampMacro(HoleSize, double, 0.0, VTK_FLOAT_MAX);
68 vtkGetMacro(HoleSize, double);
70
71 protected:
72 vtkFillHolesFilter();
73 ~vtkFillHolesFilter() override;
74
75 int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
76
77 double HoleSize;
78
79 private:
80 vtkFillHolesFilter(const vtkFillHolesFilter&) = delete;
81 void operator=(const vtkFillHolesFilter&) = delete;
82 };
83
84 VTK_ABI_NAMESPACE_END
85 #endif
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:39
vtkFillHolesFilter
identify and fill holes in meshes
Definition: vtkFillHolesFilter.h:49
vtkFillHolesFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, type information and printing.
vtkFillHolesFilter::New
static vtkFillHolesFilter * New()
Standard methods for instantiation, type information and printing.
vtkFillHolesFilter::vtkFillHolesFilter
vtkFillHolesFilter()
vtkFillHolesFilter::~vtkFillHolesFilter
~vtkFillHolesFilter() override
vtkFillHolesFilter::HoleSize
double HoleSize
Definition: vtkFillHolesFilter.h:77
vtkFillHolesFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:40
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:72
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:43
vtkPolyDataAlgorithm.h
VTK_FLOAT_MAX
#define VTK_FLOAT_MAX
Definition: vtkType.h:152