VTK
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 =========================================================================*/
24 #ifndef vtkSubdivisionFilter_h
25 #define vtkSubdivisionFilter_h
26 
27 #include "vtkFiltersGeneralModule.h" // For export macro
28 #include "vtkPolyDataAlgorithm.h"
29 
30 class vtkCellArray;
31 class vtkCellData;
32 class vtkIdList;
33 class vtkIntArray;
34 class vtkPoints;
35 class vtkPointData;
36 
37 class VTKFILTERSGENERAL_EXPORT vtkSubdivisionFilter : public vtkPolyDataAlgorithm
38 {
39 public:
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 
44 
48  vtkSetMacro(NumberOfSubdivisions,int);
49  vtkGetMacro(NumberOfSubdivisions,int);
51 
53 
58  vtkSetClampMacro(CheckForTriangles, int, 0, 1);
59  vtkGetMacro(CheckForTriangles, int);
60  vtkBooleanMacro(CheckForTriangles, int);
62 
63 protected:
65  ~vtkSubdivisionFilter() VTK_OVERRIDE {}
66 
68 
69  int NumberOfSubdivisions;
70  int CheckForTriangles;
71 private:
72  vtkSubdivisionFilter(const vtkSubdivisionFilter&) VTK_DELETE_FUNCTION;
73  void operator=(const vtkSubdivisionFilter&) VTK_DELETE_FUNCTION;
74 };
75 
76 #endif
represent and manipulate point attribute data
Definition: vtkPointData.h:31
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:32
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:39
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
list of point or cell ids
Definition: vtkIdList.h:30
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
object to represent cell connectivity
Definition: vtkCellArray.h:44
Store zero or more vtkInformation instances.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
base class for subvision filters
represent and manipulate 3D points
Definition: vtkPoints.h:33
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.