30#ifndef vtkWebXRRenderWindow_h
31#define vtkWebXRRenderWindow_h
33#include "vtkRenderingWebXRModule.h"
37VTK_ABI_NAMESPACE_BEGIN
144 vtkInternals* Internal;
a simple class to control print indentation
Allocate and hold a VTK object.
platform-independent render window interaction including picking and frame rate control.
abstract specification for renderers
void Render() override
Overridden to not release resources that would interfere with an external application's rendering.
void StereoMidpoint() override
Intermediate method performs operations required between the rendering of the left and right eye.
void AddRenderer(vtkRenderer *) override
Add a renderer to the list of renderers.
vtkRenderWindowInteractor * MakeRenderWindowInteractor() override
Create an interactor to control renderers in this window.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RenderModels() override
Render the controllers.
void Initialize() override
Initialize the rendering window.
char * GetCanvasSelector()
Get the selector of the canvas element in the DOM.
int GetColorBufferSizes(int *rgba) override
Get the size of the color buffer.
static vtkWebXRRenderWindow * New()
void Finalize() override
Finalize the rendering window.
~vtkWebXRRenderWindow() override
bool CreateFramebuffers(uint32_t viewCount=1) override
no-op because the WebXR API already gives us a framebuffer
const char * ReportCapabilities() override
Get report of capabilities for the render window.
void StereoRenderComplete() override
Handles work required once both views have been rendered when using stereo rendering.
void UpdateHMDMatrixPose() override
Update the HMD pose based on hardware pose and physical to world transform.
void RenderFramebuffer(FramebufferDesc &framebufferDesc) override
no-op to satisfy the base class API
bool GetSizeFromAPI() override
Get size of render window from WebXR.
void SetCanvasSelector(const char *_arg)
Specify the selector of the canvas element in the DOM.