VTK  9.7.20261015
vtkWebGPUCameraPass.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
12
13#ifndef vtkWebGPUCameraPass_h
14#define vtkWebGPUCameraPass_h
15
16#include "vtkCameraPass.h"
17#include "vtkRenderingWebGPUModule.h" // For export macro
18#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
19
20#include <tuple> // for std::tuple
21
22VTK_ABI_NAMESPACE_BEGIN
24
25class VTKRENDERINGWEBGPU_EXPORT VTK_MARSHALAUTO vtkWebGPUCameraPass : public vtkCameraPass
26{
27public:
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
38 void Render(const vtkRenderState* s) override;
39
40protected:
43
44private:
46 void operator=(const vtkWebGPUCameraPass&) = delete;
47
48 std::tuple<int, int, int, int> ComputeYInvertedViewport(vtkRenderer* renderer);
49};
50
51#define vtkWebGPUCameraPass_OVERRIDE_ATTRIBUTES vtkWebGPUCameraPass::CreateOverrideAttributes()
52VTK_ABI_NAMESPACE_END
53#endif
vtkCameraPass()
Default constructor.
a simple class to control print indentation
Definition vtkIndent.h:108
Attribute for vtkObjectFactory overrides.
Context in which a vtkRenderPass will render.
abstract specification for renderers
~vtkWebGPUCameraPass() override
static vtkOverrideAttribute * CreateOverrideAttributes()
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkWebGPUCameraPass * New()
#define VTK_MARSHALAUTO
#define VTK_NEWINSTANCE