VTK  9.5.20250912
vtkPolyDataToUnstructuredGrid.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
16#ifndef vtkPolyDataToUnstructuredGrid_h
17#define vtkPolyDataToUnstructuredGrid_h
18
19#include "vtkFiltersCoreModule.h" // For export macro
21#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkPolyData;
25
28{
29public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
37 static bool CanBeProcessedFast(vtkPolyData* polyData);
38
39protected:
42
43 int FillInputPortInformation(int port, vtkInformation* info) override;
45
46private:
48 void operator=(const vtkPolyDataToUnstructuredGrid&) = delete;
49};
50
51VTK_ABI_NAMESPACE_END
52#endif // vtkFastPolyDataToUnstructuredGrid_h
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Filter which converts a polydata to unstructured grid.
static bool CanBeProcessedFast(vtkPolyData *polyData)
Check if a polydata has only 1 cell array populated, therefore it can be just shallow copied.
~vtkPolyDataToUnstructuredGrid() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkPolyDataToUnstructuredGrid * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
concrete dataset represents vertices, lines, polygons, and triangle strips
Superclass for algorithms that produce only unstructured grid as output.
#define VTK_MARSHALAUTO