VTK
vtkLoopSubdivisionFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkLoopSubdivisionFilter.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=========================================================================*/
49#ifndef vtkLoopSubdivisionFilter_h
50#define vtkLoopSubdivisionFilter_h
51
52#include "vtkFiltersModelingModule.h" // For export macro
54
55class vtkPolyData;
56class vtkIntArray;
57class vtkPoints;
58class vtkIdList;
59
60class VTKFILTERSMODELING_EXPORT vtkLoopSubdivisionFilter : public vtkApproximatingSubdivisionFilter
61{
62public:
64
70
71protected:
74
76
78 vtkPoints *outputPts,
79 vtkPointData *outputPD);
81 vtkIdList *stencilIds, double *weights);
83 vtkIdList *stencilIds, double *weights);
84
86
87private:
88 vtkLoopSubdivisionFilter(const vtkLoopSubdivisionFilter&) VTK_DELETE_FUNCTION;
89 void operator=(const vtkLoopSubdivisionFilter&) VTK_DELETE_FUNCTION;
90};
91
92#endif
93// VTK-HeaderTest-Exclude: vtkLoopSubdivisionFilter.h
generate a subdivision surface using an Approximating Scheme
list of point or cell ids
Definition: vtkIdList.h:37
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
Definition: vtkIntArray.h:46
generate a subdivision surface using the Loop Scheme
void GenerateOddStencil(vtkIdType p1, vtkIdType p2, vtkPolyData *polys, vtkIdList *stencilIds, double *weights)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkLoopSubdivisionFilter * New()
Construct object with NumberOfSubdivisions set to 1.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
int GenerateSubdivisionPoints(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkPoints *outputPts, vtkPointData *outputPD)
void GenerateEvenStencil(vtkIdType p1, vtkPolyData *polys, vtkIdList *stencilIds, double *weights)
represent and manipulate point attribute data
Definition: vtkPointData.h:38
represent and manipulate 3D points
Definition: vtkPoints.h:40
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
int vtkIdType
Definition: vtkType.h:287