VTK  9.3.20240423
vtkSubdivisionFilter.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
12#ifndef vtkSubdivisionFilter_h
13#define vtkSubdivisionFilter_h
14
15#include "vtkFiltersGeneralModule.h" // For export macro
17
18VTK_ABI_NAMESPACE_BEGIN
19class vtkCellArray;
20class vtkCellData;
21class vtkIdList;
22class vtkIntArray;
23class vtkPoints;
24class vtkPointData;
25
26class VTKFILTERSGENERAL_EXPORT vtkSubdivisionFilter : public vtkPolyDataAlgorithm
27{
28public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
37 vtkSetMacro(NumberOfSubdivisions, int);
38 vtkGetMacro(NumberOfSubdivisions, int);
40
42
47 vtkSetClampMacro(CheckForTriangles, vtkTypeBool, 0, 1);
48 vtkGetMacro(CheckForTriangles, vtkTypeBool);
49 vtkBooleanMacro(CheckForTriangles, vtkTypeBool);
51
52protected:
54 ~vtkSubdivisionFilter() override = default;
55
57
60
61private:
63 void operator=(const vtkSubdivisionFilter&) = delete;
64};
65
66VTK_ABI_NAMESPACE_END
67#endif
object to represent cell connectivity
represent and manipulate cell attribute data
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:139
Superclass for algorithms that produce only polydata as output.
base class for subvision filters
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkSubdivisionFilter() override=default
int vtkTypeBool
Definition vtkABI.h:64