vtkConvertPolyhedraFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3 // SPDX-FileCopyrightText: Copyright 2020 Menno Deij - van Rijswijk (MARIN)
4 // SPDX-License-Identifier: BSD-3-Clause
5 
16 #ifndef vtkConvertPolyhedraFilter_h
17 #define vtkConvertPolyhedraFilter_h
18 
19 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" // For export macro
21 
23 class vtkIdList;
24 class TestConvertPolyhedra; // for testing purposes
25 
28 {
29 public:
32 
33  void PrintSelf(ostream& os, vtkIndent indent) override;
34 
35 protected:
36  vtkConvertPolyhedraFilter() = default;
37  ~vtkConvertPolyhedraFilter() override = default;
38 
40 
41 private:
43  void operator=(const vtkConvertPolyhedraFilter&) = delete;
44 
45  // forward declared test class is friend so that it can call
46  // the two functions below without having to expose them as public
47  friend class TestConvertPolyhedra;
48 
49  void InsertNextPolyhedralCell(vtkUnstructuredGridBase*, vtkIdList*) const;
50  void InsertNextPolygonalCell(vtkUnstructuredGridBase*, vtkIdList*) const;
51 };
52 
53 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Converts polyhedral and polygonal cells to simple cells if possible.
static vtkUnstructuredGridAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
void operator=(const vtkObjectBase &)