VTK  9.6.20260204
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
14
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;
27class vtkPoints;
29
30class VTKRENDERINGWEBGPU_EXPORT VTK_MARSHALAUTO vtkWebGPUPolyDataMapper2D
31 : public vtkPolyDataMapper2D
32{
33public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
43 void RenderOverlay(vtkViewport* viewport, vtkActor2D* actor) override;
44
51
52protected:
55
56private:
58 void operator=(const vtkWebGPUPolyDataMapper2D&) = delete;
59
61 std::unique_ptr<vtkWebGPUPolyDataMapper2DInternals> Internals;
62};
63
64#define vtkWebGPUPolyDataMapper2D_OVERRIDE_ATTRIBUTES \
65 vtkWebGPUPolyDataMapper2D::CreateOverrideAttributes()
66VTK_ABI_NAMESPACE_END
67#endif
a actor that draws 2D data
Definition vtkActor2D.h:145
a simple class to control print indentation
Definition vtkIndent.h:108
Attribute for vtkObjectFactory overrides.
represent and manipulate 3D points
Definition vtkPoints.h:139
abstract specification for Viewports
Definition vtkViewport.h:66
Internal implementation details of vtkWebGPUPolyDataMapper2D.
static vtkWebGPUPolyDataMapper2D * New()
static vtkOverrideAttribute * CreateOverrideAttributes()
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:61
#define VTK_MARSHALAUTO
#define VTK_NEWINSTANCE