VTK  9.5.20250817
vtkWebGPUPolyDataMapper2D.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
15#ifndef vtkWebGPUPolyDataMapper2D_h
16#define vtkWebGPUPolyDataMapper2D_h
17
18#include "vtkPolyDataMapper2D.h"
19#include "vtkRenderingWebGPUModule.h" // For export macro
20#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
21
22#include <memory> // for unique_ptr
23
24VTK_ABI_NAMESPACE_BEGIN
25class vtkActor2D;
26class vtkPoints;
28
29class VTKRENDERINGWEBGPU_EXPORT VTK_MARSHALAUTO vtkWebGPUPolyDataMapper2D
30 : public vtkPolyDataMapper2D
31{
32public:
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
40 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) override;
41
48
49protected:
52
53private:
55 void operator=(const vtkWebGPUPolyDataMapper2D&) = delete;
56
58 std::unique_ptr<vtkWebGPUPolyDataMapper2DInternals> Internals;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
a actor that draws 2D data
Definition vtkActor2D.h:145
a simple class to control print indentation
Definition vtkIndent.h:108
represent and manipulate 3D points
Definition vtkPoints.h:139
draw vtkPolyData onto the image plane
abstract specification for Viewports
Definition vtkViewport.h:66
Internal implementation details of vtkWebGPUPolyDataMapper2D.
2D PolyData support for WebGPU
static vtkWebGPUPolyDataMapper2D * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkWebGPUPolyDataMapper2D() override
void RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) override
Actually draw the poly data.
void ReleaseGraphicsResources(vtkWindow *) override
Release any graphics resources that are being consumed by this mapper.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
#define VTK_MARSHALAUTO