VTK  9.1.0
vtkLinearSubdivisionFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLinearSubdivisionFilter.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 =========================================================================*/
110 #ifndef vtkLinearSubdivisionFilter_h
111 #define vtkLinearSubdivisionFilter_h
112 
113 #include "vtkFiltersModelingModule.h" // For export macro
115 
116 class vtkIntArray;
117 class vtkPointData;
118 class vtkPoints;
119 class vtkPolyData;
120 
121 class VTKFILTERSMODELING_EXPORT vtkLinearSubdivisionFilter
123 {
124 public:
126 
131  void PrintSelf(ostream& os, vtkIndent indent) override;
133 
134 protected:
136  ~vtkLinearSubdivisionFilter() override = default;
137 
138  int GenerateSubdivisionPoints(vtkPolyData* inputDS, vtkIntArray* edgeData, vtkPoints* outputPts,
139  vtkPointData* outputPD) override;
140 
141 private:
143  void operator=(const vtkLinearSubdivisionFilter&) = delete;
144 };
145 
146 #endif
a simple class to control print indentation
Definition: vtkIndent.h:113
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:149
generate a subdivision surface using an Interpolating Scheme
generate a subdivision surface using the Linear Scheme
static vtkLinearSubdivisionFilter * New()
Construct object with NumberOfSubdivisions set to 1.
int GenerateSubdivisionPoints(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkPoints *outputPts, vtkPointData *outputPD) override
~vtkLinearSubdivisionFilter() override=default
void PrintSelf(ostream &os, vtkIndent indent) override
Construct object with NumberOfSubdivisions set to 1.
vtkLinearSubdivisionFilter()=default
represent and manipulate point attribute data
Definition: vtkPointData.h:142
represent and manipulate 3D points
Definition: vtkPoints.h:143
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:195