VTK  9.5.20250718
vtkWebGPUComputePointCloudMapper.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
3
4#ifndef vtkWebGPUComputePointCloudMapper_h
5#define vtkWebGPUComputePointCloudMapper_h
6
7#include "vtkCallbackCommand.h" // for listening on camera & polydata changes
8#include "vtkPolyData.h" // for the poyldata that is going to be rendered
9#include "vtkPolyDataMapper.h"
10#include "vtkRenderingWebGPUModule.h" // for the module export macro
11#include "vtkSmartPointer.h" // for smart pointers
12#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
13
20
21VTK_ABI_NAMESPACE_BEGIN
22
49 : public vtkPolyDataMapper
50{
51public:
54
55 void PrintSelf(ostream& os, vtkIndent indent) override;
56
65 void RenderPiece(vtkRenderer* renderer, vtkActor* act) override;
66
67protected:
73
74private:
76 void operator=(const vtkWebGPUComputePointCloudMapper&) = delete;
82 void ComputeBounds() override;
83
85};
86
87VTK_ABI_NAMESPACE_END
88
89#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
a simple class to control print indentation
Definition vtkIndent.h:108
map vtkPolyData to graphics primitives
virtual void ComputeBounds()
Called in GetBounds().
abstract specification for renderers
Hold a reference to a vtkObjectBase instance.
Represents the set of parameters that will be used to create a compute shader buffer on the device wh...
A compute pass is an abstraction for offloading computation from the CPU onto the GPU using WebGPU co...
A compute pipeline is the orchestrator of a collection of compute passes.
The point cloud renderer uses WebGPU compute shaders to render the point cells of a polydata onto the...
void RenderPiece(vtkRenderer *renderer, vtkActor *act) override
Renders the given actor with the given renderer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWebGPUComputePointCloudMapper * New()
vtkWebGPUComputePointCloudMapper()
Creates the compute passes and sets up the observers.
Internal implementation details of vtkWebGPUPointCloudMapper.
WebGPU rendering window.
#define VTK_MARSHALAUTO