src
paraview-5.12
VTKExtensions
FiltersGeneral
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
20
#include "
vtkUnstructuredGridAlgorithm.h
"
21
22
class
vtkUnstructuredGridBase
;
23
class
vtkIdList
;
24
class
TestConvertPolyhedra;
// for testing purposes
25
26
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkConvertPolyhedraFilter
27
:
public
vtkUnstructuredGridAlgorithm
28
{
29
public
:
30
static
vtkConvertPolyhedraFilter
*
New
();
31
vtkTypeMacro(
vtkConvertPolyhedraFilter
,
vtkUnstructuredGridAlgorithm
);
32
33
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
34
35
protected
:
36
vtkConvertPolyhedraFilter
() =
default
;
37
~
vtkConvertPolyhedraFilter
()
override
=
default
;
38
39
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
40
41
private
:
42
vtkConvertPolyhedraFilter
(
const
vtkConvertPolyhedraFilter
&) =
delete
;
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
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkUnstructuredGridBase
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
vtkIndent
vtkIdList
vtkConvertPolyhedraFilter
Converts polyhedral and polygonal cells to simple cells if possible.
Definition:
vtkConvertPolyhedraFilter.h:26
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkInformation
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Generated by
1.8.17 on Wed Mar 27 2024