VTK  9.4.20250130
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
21#include <memory> // for unique_ptr
22
23VTK_ABI_NAMESPACE_BEGIN
24class vtkActor2D;
25class vtkPoints;
27
28class VTKRENDERINGWEBGPU_EXPORT vtkWebGPUPolyDataMapper2D : public vtkPolyDataMapper2D
29{
30public:
33 void PrintSelf(ostream& os, vtkIndent indent) override;
34
38 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) override;
39
46
47protected:
50
51private:
53 void operator=(const vtkWebGPUPolyDataMapper2D&) = delete;
54
56 std::unique_ptr<vtkWebGPUPolyDataMapper2DInternals> Internals;
57};
58
59VTK_ABI_NAMESPACE_END
60#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:65
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