VTK
9.6.2
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Rendering
WebGPU
vtkWebGPUCellToPrimitiveConverter.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
22
23
#ifndef vtkWebGPUCellToPrimitiveConverter_h
24
#define vtkWebGPUCellToPrimitiveConverter_h
25
26
#include "
vtkObject.h
"
27
28
#include "
vtkProperty.h
"
// for VTK_SURFACE
29
#include "vtkRenderingWebGPUModule.h"
// for export macro
30
#include "
vtkSmartPointer.h
"
// for vtkSmartPointer
31
32
#include "vtk_wgpu.h"
// for wgpu::Buffer
33
34
#include <utility>
// for std::pair
35
36
VTK_ABI_NAMESPACE_BEGIN
37
class
vtkWebGPUConfiguration
;
38
class
vtkPolyData
;
39
class
vtkCellArray
;
40
class
vtkWebGPUComputePass
;
41
class
vtkWebGPUComputePipeline
;
42
43
class
VTKRENDERINGWEBGPU_EXPORT
vtkWebGPUCellToPrimitiveConverter
:
public
vtkObject
44
{
45
public
:
46
static
vtkWebGPUCellToPrimitiveConverter
*
New
();
47
vtkTypeMacro(
vtkWebGPUCellToPrimitiveConverter
,
vtkObject
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
49
55
void
ReleaseGraphicsResources
(
vtkWindow
*);
56
61
enum
TopologySourceType
:
int
62
{
63
// Used to draw VTK_VERTEX and VTK_POLY_VERTEX cell types
64
TOPOLOGY_SOURCE_VERTS
= 0,
65
// Used to draw VTK_LINE and VTK_POLY_LINE cell types.
66