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 =========================================================================*/
31 #ifndef vtkLinearSubdivisionFilter_h
32 #define vtkLinearSubdivisionFilter_h
33 
34 #include "vtkFiltersModelingModule.h" // For export macro
36 
37 class vtkIntArray;
38 class vtkPointData;
39 class vtkPoints;
40 class vtkPolyData;
41 
42 class VTKFILTERSMODELING_EXPORT vtkLinearSubdivisionFilter
44 {
45 public:
47 
52  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
55 protected:
57  ~vtkLinearSubdivisionFilter() override = default;
58 
59  int GenerateSubdivisionPoints(vtkPolyData* inputDS, vtkIntArray* edgeData, vtkPoints* outputPts,
60  vtkPointData* outputPD) override;
61 
62 private:
64  void operator=(const vtkLinearSubdivisionFilter&) = delete;
65 };
66 
67 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:40
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:33
represent and manipulate 3D points
Definition: vtkPoints.h:34
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86