VTK: Rendering/OpenXRRemoting/vtkOpenXRRemotingRenderWindow.h Source File

| VTK 9.3.1

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
16 #include "vtkOpenXRRenderWindow.h"
17 #include "vtkRenderingOpenXRRemotingModule.h" // For export macro
18
19 VTK_ABI_NAMESPACE_BEGIN
20 class VTKRENDERINGOPENXRREMOTING_EXPORT vtkOpenXRRemotingRenderWindow : public vtkOpenXRRenderWindow
21 {
22 public:
23 static vtkOpenXRRemotingRenderWindow* New();
24 vtkTypeMacro(vtkOpenXRRemotingRenderWindow, vtkOpenXRRenderWindow);
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
50 protected:
51 vtkOpenXRRemotingRenderWindow();
52 ~vtkOpenXRRemotingRenderWindow() = default;
53
54 void RenderOneEye(uint32_t eye) override;
55
56 private:
57 vtkOpenXRRemotingRenderWindow(const vtkOpenXRRemotingRenderWindow&) = delete;
58 void operator=(const vtkOpenXRRemotingRenderWindow&) = delete;
59 };
60
61 VTK_ABI_NAMESPACE_END
62 #endif
63 // VTK-HeaderTest-Exclude: vtkOpenXRRemotingRenderWindow.h
vtkOpenXRRemotingRenderWindow
OpenXR remoting rendering window.
Definition: vtkOpenXRRemotingRenderWindow.h:21
vtkOpenXRRemotingRenderWindow::~vtkOpenXRRemotingRenderWindow
~vtkOpenXRRemotingRenderWindow()=default
vtkOpenXRRemotingRenderWindow::CopyResultFrame
void CopyResultFrame() override
Overridden to lock the opengl rendering while copying.
vtkOpenXRRemotingRenderWindow::StereoMidpoint
void StereoMidpoint() override
Overridden to draw to the shared D3D texture.
vtkOpenXRRemotingRenderWindow::vtkOpenXRRemotingRenderWindow
vtkOpenXRRemotingRenderWindow()
vtkOpenXRRemotingRenderWindow::Initialize
void Initialize() override
Initialize helper window resources.
vtkOpenXRRemotingRenderWindow::StereoUpdate
void StereoUpdate() override
Overridden to draw to the shared D3D texture.
vtkOpenXRRemotingRenderWindow::RenderOneEye
void RenderOneEye(uint32_t eye) override
vtkOpenXRRemotingRenderWindow::StereoRenderComplete
void StereoRenderComplete() override
Overridden to draw to the shared D3D texture.
vtkOpenXRRemotingRenderWindow::SetRemotingIPAddress
void SetRemotingIPAddress(const char *host)
Set the OpenXR remoting IP address to connect to.
vtkOpenXRRemotingRenderWindow::New
static vtkOpenXRRemotingRenderWindow * New()
vtkOpenXRRenderWindow
OpenXR rendering window.
Definition: vtkOpenXRRenderWindow.h:47
vtkOpenXRRenderWindow.h