VTK  9.3.20240420
vtkInterpolatingSubdivisionFilter.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
18#ifndef vtkInterpolatingSubdivisionFilter_h
19#define vtkInterpolatingSubdivisionFilter_h
20
21#include "vtkFiltersGeneralModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkCellArray;
26class vtkCellData;
27class vtkIdList;
28class vtkIntArray;
29class vtkPointData;
30class vtkPoints;
31class vtkPolyData;
32
33class VTKFILTERSGENERAL_EXPORT vtkInterpolatingSubdivisionFilter : public vtkSubdivisionFilter
34{
35public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
39protected:
42
45 vtkPolyData* inputDS, vtkIntArray* edgeData, vtkPoints* outputPts, vtkPointData* outputPD) = 0;
47 vtkPolyData* inputDS, vtkIntArray* edgeData, vtkCellArray* outputPolys, vtkCellData* outputCD);
49 vtkIntArray* edgeData, vtkIdList* cellIds);
51 vtkPoints* inputPts, vtkPoints* outputPts, vtkIdList* stencil, double* weights);
52
53private:
55 void operator=(const vtkInterpolatingSubdivisionFilter&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif
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
generate a subdivision surface using an Interpolating Scheme
virtual int GenerateSubdivisionPoints(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkPoints *outputPts, vtkPointData *outputPD)=0
vtkIdType InterpolatePosition(vtkPoints *inputPts, vtkPoints *outputPts, vtkIdList *stencil, double *weights)
void GenerateSubdivisionCells(vtkPolyData *inputDS, vtkIntArray *edgeData, vtkCellArray *outputPolys, vtkCellData *outputCD)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkInterpolatingSubdivisionFilter() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FindEdge(vtkPolyData *mesh, vtkIdType cellId, vtkIdType p1, vtkIdType p2, vtkIntArray *edgeData, vtkIdList *cellIds)
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