VTK
9.3.0
Common
DataModel
vtkPolyhedronUtilities.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
18
#ifndef vtkPolyhedronUtilities_h
19
#define vtkPolyhedronUtilities_h
20
21
#include "vtkCommonDataModelModule.h"
// For export macro
22
#include "
vtkObject.h
"
23
#include "vtkSetGet.h"
// For vtkTypeMacro
24
#include "
vtkSmartPointer.h
"
// For vtkSmartPointer
25
#include "
vtkType.h
"
// For vtkIdType
26
27
VTK_ABI_NAMESPACE_BEGIN
28
class
vtkCellData
;
29
class
vtkPointData
;
30
class
vtkPolyhedron
;
31
class
vtkUnstructuredGrid
;
32
33
class
VTKCOMMONDATAMODEL_EXPORT
vtkPolyhedronUtilities
34
{
35
public
:
47
static
vtkSmartPointer<vtkUnstructuredGrid>
Decompose
(
48
vtkPolyhedron
* polyhedron,
vtkPointData
* inPd,
vtkIdType
cellId,
vtkCellData
* inCd);
49
50
private
:
51
vtkPolyhedronUtilities
() =
default
;
52
~
vtkPolyhedronUtilities
() =
default
;
53
};
54
55
VTK_ABI_NAMESPACE_END
56
#endif
vtkCellData
represent and manipulate cell attribute data
Definition:
vtkCellData.h:40
vtkPointData
represent and manipulate point attribute data
Definition:
vtkPointData.h:39
vtkPolyhedronUtilities
vtkPolyhedron utilities
Definition:
vtkPolyhedronUtilities.h:34
vtkPolyhedronUtilities::Decompose
static vtkSmartPointer< vtkUnstructuredGrid > Decompose(vtkPolyhedron *polyhedron, vtkPointData *inPd, vtkIdType cellId, vtkCellData *inCd)
Decompose the input polyhedron into tetrahedrons.
vtkPolyhedron
A 3D cell defined by a set of polygonal faces.
Definition:
vtkPolyhedron.h:155
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition:
vtkSmartPointer.h:41
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition:
vtkUnstructuredGrid.h:99
vtkObject.h
vtkSmartPointer.h
vtkType.h
vtkIdType
int vtkIdType
Definition:
vtkType.h:315
Generated on Wed Feb 7 2024 02:55:36 for VTK by
1.9.1