VTK  9.3.20240717
vtkOpenXRRemotingRenderWindow.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
13#ifndef vtkOpenXRRemotingRenderWindow_h
14#define vtkOpenXRRemotingRenderWindow_h
15
17#include "vtkRenderingOpenXRRemotingModule.h" // For export macro
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKRENDERINGOPENXRREMOTING_EXPORT vtkOpenXRRemotingRenderWindow : public vtkOpenXRRenderWindow
21{
22public:
25
29 void SetRemotingIPAddress(const char* host);
30
34 void Initialize() override;
35
39 void CopyResultFrame() override;
40
42
45 void StereoUpdate() override;
46 void StereoMidpoint() override;
47 void StereoRenderComplete() override;
49
50protected:
53
54 void RenderOneEye(uint32_t eye) override;
55
56private:
58 void operator=(const vtkOpenXRRemotingRenderWindow&) = delete;
59};
60
61VTK_ABI_NAMESPACE_END
62#endif
63// VTK-HeaderTest-Exclude: vtkOpenXRRemotingRenderWindow.h
OpenXR remoting rendering window.
static vtkOpenXRRemotingRenderWindow * New()
void CopyResultFrame() override
Overridden to lock the opengl rendering while copying.
void StereoMidpoint() override
Overridden to draw to the shared D3D texture.
void Initialize() override
Initialize helper window resources.
void StereoUpdate() override
Overridden to draw to the shared D3D texture.
void RenderOneEye(uint32_t eye) override
void StereoRenderComplete() override
Overridden to draw to the shared D3D texture.
void SetRemotingIPAddress(const char *host)
Set the OpenXR remoting IP address to connect to.
OpenXR rendering window.