VTK  9.3.0
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 
22 VTK_ABI_NAMESPACE_BEGIN
23 class vtkPolyData;
24 
25 class VTKFILTERSCORE_EXPORT vtkPolyDataToUnstructuredGrid : public vtkUnstructuredGridAlgorithm
26 {
27 public:
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
35  static bool CanBeProcessedFast(vtkPolyData* polyData);
36 
37 protected:
40 
43 
44 private:
46  void operator=(const vtkPolyDataToUnstructuredGrid&) = delete;
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #endif // vtkFastPolyDataToUnstructuredGrid_h
a simple class to control print indentation
Definition: vtkIndent.h:29
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
Definition: vtkPolyData.h:80
Superclass for algorithms that produce only unstructured grid as output.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447