VTK  9.4.20250413
vtkDensifyPolyData.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
3
24#ifndef vtkDensifyPolyData_h
25#define vtkDensifyPolyData_h
26
27#include "vtkFiltersGeneralModule.h" // For export macro
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKFILTERSGENERAL_EXPORT vtkDensifyPolyData : public vtkPolyDataAlgorithm
32{
33public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
42 vtkSetMacro(NumberOfSubdivisions, unsigned int);
43 vtkGetMacro(NumberOfSubdivisions, unsigned int);
45
46protected:
49
51
53
54private:
55 int FillInputPortInformation(int, vtkInformation*) override;
56
58 void operator=(const vtkDensifyPolyData&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
Densify the input by adding points at the centroid.
~vtkDensifyPolyData() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDensifyPolyData * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
unsigned int NumberOfSubdivisions
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.