VTK  9.5.20250715
vtkWebGPUGlyph3DMapper.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
9#ifndef vtkWebGPUGlyph3DMapper_h
10#define vtkWebGPUGlyph3DMapper_h
11
12#include "vtkGlyph3DMapper.h"
13
14#include "vtkRenderingWebGPUModule.h" // for export macro
15#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
16
17#include <memory> // for unique_ptr
18
19VTK_ABI_NAMESPACE_BEGIN
20
21class VTKRENDERINGWEBGPU_EXPORT VTK_MARSHALAUTO vtkWebGPUGlyph3DMapper : public vtkGlyph3DMapper
22{
23public:
26 void PrintSelf(ostream& os, vtkIndent indent) override;
27
28 void Render(vtkRenderer* renderer, vtkActor* actor) override;
29
35 void ReleaseGraphicsResources(vtkWindow* window) override;
36
37protected:
40
41private:
43 void operator=(const vtkWebGPUGlyph3DMapper&) = delete;
44
45 class vtkInternals;
46 std::unique_ptr<vtkInternals> Internals;
47};
48
49VTK_ABI_NAMESPACE_END
50
51#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
vtkGlyph3D on the GPU.
a simple class to control print indentation
Definition vtkIndent.h:108
abstract specification for renderers
Generate 3D glyphs at points in input dataset using webgpu.
~vtkWebGPUGlyph3DMapper() override
void ReleaseGraphicsResources(vtkWindow *window) override
Release any graphics resources that are being consumed by this mapper.
static vtkWebGPUGlyph3DMapper * New()
void Render(vtkRenderer *renderer, vtkActor *actor) override
All the work is done is derived classes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
#define VTK_MARSHALAUTO