vtkConvertPolyhedraFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkConvertPolyhedraFilter.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2020 Menno Deij - van Rijswijk (MARIN)
17 -------------------------------------------------------------------------*/
18 
29 #ifndef vtkConvertPolyhedraFilter_h
30 #define vtkConvertPolyhedraFilter_h
31 
32 #include "vtkPVVTKExtensionsFiltersGeneralModule.h" // For export macro
34 
36 class vtkIdList;
37 class TestConvertPolyhedra; // for testing purposes
38 
41 {
42 public:
45 
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
48 protected:
49  vtkConvertPolyhedraFilter() = default;
50  ~vtkConvertPolyhedraFilter() = default;
51 
53 
54 private:
56  void operator=(const vtkConvertPolyhedraFilter&) = delete;
57 
58  // forward declared test class is friend so that it can call
59  // the two functions below without having to expose them as public
60  friend class TestConvertPolyhedra;
61 
62  void InsertNextPolyhedralCell(vtkUnstructuredGridBase*, vtkIdList*) const;
63  void InsertNextPolygonalCell(vtkUnstructuredGridBase*, vtkIdList*) const;
64 };
65 
66 #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 &)