3#ifndef vtkWebGPUCamera_h
4#define vtkWebGPUCamera_h
10#include "vtkRenderingWebGPUModule.h"
12VTK_ABI_NAMESPACE_BEGIN
53 vtkTypeFloat32 Viewport[4];
55 vtkTypeFloat32 ViewMatrix[4][4] = {};
57 vtkTypeFloat32 ProjectionMatrix[4][4] = {};
59 vtkTypeFloat32 NormalMatrix[4][4] = {};
61 vtkTypeFloat32 InvertedProjectionMatrix[4][4] = {};
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)