VTK
9.5.20250718
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
51
VTK_ABI_NAMESPACE_END
52
#endif
vtkCellData
represent and manipulate cell attribute data
Definition
vtkCellData.h:141
vtkPointData
represent and manipulate point attribute data
Definition
vtkPointData.h:140
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:167
vtkSmartPointer
Hold a reference to a vtkObjectBase instance.
Definition
vtkSmartPointer.h:141
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition
vtkUnstructuredGrid.h:152
vtkObject.h
vtkSmartPointer.h
vtkType.h
vtkIdType
int vtkIdType
Definition
vtkType.h:332
Generated on Fri Jul 18 2025 08:10:53 for VTK by
1.9.7