VTK  9.3.20240914
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
22VTK_ABI_NAMESPACE_BEGIN
23class vtkPolyData;
24
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
35 static bool CanBeProcessedFast(vtkPolyData* polyData);
36
37protected:
40
41 int FillInputPortInformation(int port, vtkInformation* info) override;
43
44private:
46 void operator=(const vtkPolyDataToUnstructuredGrid&) = delete;
47};
48
49VTK_ABI_NAMESPACE_END
50#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.