VTK  9.2.6
vtkSubdivisionFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkSubdivisionFilter.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=========================================================================*/
23
24#ifndef vtkSubdivisionFilter_h
25#define vtkSubdivisionFilter_h
26
27#include "vtkFiltersGeneralModule.h" // For export macro
29
30class vtkCellArray;
31class vtkCellData;
32class vtkIdList;
33class vtkIntArray;
34class vtkPoints;
35class vtkPointData;
36
37class VTKFILTERSGENERAL_EXPORT vtkSubdivisionFilter : public vtkPolyDataAlgorithm
38{
39public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
48 vtkSetMacro(NumberOfSubdivisions, int);
49 vtkGetMacro(NumberOfSubdivisions, int);
51
53
58 vtkSetClampMacro(CheckForTriangles, vtkTypeBool, 0, 1);
60 vtkBooleanMacro(CheckForTriangles, vtkTypeBool);
62
63protected:
65 ~vtkSubdivisionFilter() override = default;
66
68
71
72private:
74 void operator=(const vtkSubdivisionFilter&) = delete;
75};
76
77#endif
object to represent cell connectivity
represent and manipulate cell attribute data
Definition vtkCellData.h:42
list of point or cell ids
Definition vtkIdList.h:34
a simple class to control print indentation
Definition vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition vtkIntArray.h:46
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:40
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:69