3#ifndef vtkWebGPUCamera_h
4#define vtkWebGPUCamera_h
10#include "vtkRenderingWebGPUModule.h"
13VTK_ABI_NAMESPACE_BEGIN
54 vtkTypeFloat32 Viewport[4];
56 vtkTypeFloat32 ViewMatrix[4][4] = {};
58 vtkTypeFloat32 ProjectionMatrix[4][4] = {};
60 vtkTypeFloat32 NormalMatrix[3][4] = {};
62 vtkTypeFloat32 InvertedProjectionMatrix[4][4] = {};
64 vtkTypeUInt32 Flags = 0;
represents an object (geometry & properties) in a rendered scene
a virtual camera for 3D rendering
a simple class to control print indentation
represent and manipulate 3x3 transformation matrices
Allocate and hold a VTK object.
abstract specification for renderers
record modification and/or execution time
~vtkWebGPUCamera() override
void * GetCachedSceneTransforms()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTimeStamp KeyMatrixTime
vtkNew< vtkMatrix3x3 > NormalMatrix
static vtkWebGPUCamera * New()
SceneTransforms CachedSceneTransforms
void Render(vtkRenderer *renderer) override
Implement base class method.
void UpdateViewport(vtkRenderer *renderer) override
Invokes setViewport, setScissor (if needed) followed by updating the view, projection buffers.
static std::size_t GetCacheSizeBytes()
void CacheSceneTransforms(vtkRenderer *renderer)