VTK: Rendering/OpenXRRemoting/vtkOpenXRManagerRemoteConnection.h Source File

| VTK 9.3.1

vtkOpenXRManagerRemoteConnection.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
12 #ifndef vtkOpenXRManagerRemoteConnection_h
13 #define vtkOpenXRManagerRemoteConnection_h
14
15 #include "vtkOpenXRManagerConnection.h"
16 #include "vtkRenderingOpenXRRemotingModule.h" // For export macro
17
18 #include "vtkOpenXR.h" // For XrInstance/XrSystemId
19
20 VTK_ABI_NAMESPACE_BEGIN
21 class VTKRENDERINGOPENXRREMOTING_EXPORT vtkOpenXRManagerRemoteConnection
22 : public vtkOpenXRManagerConnection
23 {
24 public:
25 static vtkOpenXRManagerRemoteConnection* New();
26 vtkTypeMacro(vtkOpenXRManagerRemoteConnection, vtkOpenXRManagerConnection);
27
28 bool Initialize() override;
29 bool ConnectToRemote(XrInstance instance, XrSystemId id) override;
30
34 const char* GetExtensionName() override;
35
39 bool HandleXrEvent(const XrEventDataBuffer& eventData) override;
40
41 protected:
42 vtkOpenXRManagerRemoteConnection() = default;
43 ~vtkOpenXRManagerRemoteConnection() = default;
44
45 private:
46 vtkOpenXRManagerRemoteConnection(const vtkOpenXRManagerRemoteConnection&) = delete;
47 void operator=(const vtkOpenXRManagerRemoteConnection&) = delete;
48 };
49
50 VTK_ABI_NAMESPACE_END
51 #endif
vtkOpenXRManagerConnection
OpenXR manager connection no-op implementation.
Definition: vtkOpenXRManagerConnection.h:26
vtkOpenXRManagerRemoteConnection
OpenXR remoting connection strategy.
Definition: vtkOpenXRManagerRemoteConnection.h:23
vtkOpenXRManagerRemoteConnection::Initialize
bool Initialize() override
vtkOpenXRManagerRemoteConnection::vtkOpenXRManagerRemoteConnection
vtkOpenXRManagerRemoteConnection()=default
vtkOpenXRManagerRemoteConnection::GetExtensionName
const char * GetExtensionName() override
Enable the OpenXR Remoting extension if supported.
vtkOpenXRManagerRemoteConnection::~vtkOpenXRManagerRemoteConnection
~vtkOpenXRManagerRemoteConnection()=default
vtkOpenXRManagerRemoteConnection::HandleXrEvent
bool HandleXrEvent(const XrEventDataBuffer &eventData) override
Handle connection/deconnection events.
vtkOpenXRManagerRemoteConnection::New
static vtkOpenXRManagerRemoteConnection * New()
vtkOpenXRManagerRemoteConnection::ConnectToRemote
bool ConnectToRemote(XrInstance instance, XrSystemId id) override
vtkOpenXRManagerConnection.h
vtkOpenXR.h
Defines the OpenXR types and extensions common to all platforms.