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 vtkCellArray;
24 class vtkIdList;
25 class TestConvertPolyhedra; // for testing purposes
26 
29 {
30 public:
33 
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
36 protected:
37  vtkConvertPolyhedraFilter() = default;
38  ~vtkConvertPolyhedraFilter() override = default;
39 
41 
42 private:
44  void operator=(const vtkConvertPolyhedraFilter&) = delete;
45 
46  // forward declared test class is friend so that it can call
47  // the two functions below without having to expose them as public
48  friend class TestConvertPolyhedra;
49 
50  void InsertNextPolyhedralCell(vtkUnstructuredGridBase*, vtkIdList*, vtkCellArray*) const;
51  void InsertNextPolygonalCell(vtkUnstructuredGridBase*, vtkIdList*) const;
52 };
53 
54 #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 &)