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