VTK  9.3.1
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
16 #include "vtkPolyDataAlgorithm.h"
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkCellArray;
20 class vtkCellData;
21 class vtkIdList;
22 class vtkIntArray;
23 class vtkPoints;
24 class vtkPointData;
25 
26 class VTKFILTERSGENERAL_EXPORT vtkSubdivisionFilter : public vtkPolyDataAlgorithm
27 {
28 public:
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 
52 protected:
54  ~vtkSubdivisionFilter() override = default;
55 
57 
60 
61 private:
63  void operator=(const vtkSubdivisionFilter&) = delete;
64 };
65 
66 VTK_ABI_NAMESPACE_END
67 #endif
represent and manipulate point attribute data
Definition: vtkPointData.h:29
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
represent and manipulate cell attribute data
Definition: vtkCellData.h:30
int vtkTypeBool
Definition: vtkABI.h:64
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:34
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
list of point or cell ids
Definition: vtkIdList.h:22
object to represent cell connectivity
Definition: vtkCellArray.h:175
Store zero or more vtkInformation instances.
base class for subvision filters
represent and manipulate 3D points
Definition: vtkPoints.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.