VTK  9.4.20250206
vtkApproximatingSubdivisionFilter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
15#ifndef vtkApproximatingSubdivisionFilter_h
16#define vtkApproximatingSubdivisionFilter_h
17
18#include "vtkFiltersGeneralModule.h" // For export macro
20
21VTK_ABI_NAMESPACE_BEGIN
22class vtkCellArray;
23class vtkCellData;
24class vtkIdList;
25class vtkIntArray;
26class vtkPoints;
27class vtkPointData;
28
29class VTKFILTERSGENERAL_EXPORT vtkApproximatingSubdivisionFilter : public vtkSubdivisionFilter
30{
31public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
35protected:
38
41 vtkPolyData* inputDS, vtkIntArray* edgeData, vtkPoints* outputPts, vtkPointData* outputPD) = 0;
43 vtkPolyData* inputDS, vtkIntArray* edgeData, vtkCellArray* outputPolys, vtkCellData* outputCD);
45 vtkIntArray* edgeData, vtkIdList* cellIds);
47 vtkPoints* inputPts, vtkPoints* outputPts, vtkIdList* stencil, double* weights);
48
49private:
51 void operator=(const vtkApproximatingSubdivisionFilter&) = delete;
52};
53
54VTK_ABI_NAMESPACE_END
55#endif
generate a subdivision surface using an Approximating Scheme
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIdType InterpolatePosition(vtkPoints *inputPts, vtkPoints *outputPts, vtkIdList *stencil, double *weights)
~vtkApproximatingSubdivisionFilter() override=default
int FindEdge(vtkPolyData *mesh, vtkIdType cellId, vtkIdType p1, vtkIdType p2, vtkIntArray *edgeData, vtkIdList *cellIds)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void GenerateSubdivisionCells(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkCellArray *outputPolys, vtkCellData *outputCD)
virtual int GenerateSubdivisionPoints(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkPoints *outputPts, vtkPointData *outputPD)=0
object to represent cell connectivity
represent and manipulate cell attribute data
list of point or cell ids
Definition vtkIdList.h:133
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
dynamic, self-adjusting array of int
represent and manipulate point attribute data
represent and manipulate 3D points
Definition vtkPoints.h:139
concrete dataset represents vertices, lines, polygons, and triangle strips
base class for subvision filters
int vtkIdType
Definition vtkType.h:315