VTK  9.3.0
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 
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
23 {
24 public:
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:
44 
45 private:
47  void operator=(const vtkOpenXRManagerRemoteConnection&) = delete;
48 };
49 
50 VTK_ABI_NAMESPACE_END
51 #endif
OpenXR manager connection no-op implementation.
OpenXR remoting connection strategy.
const char * GetExtensionName() override
Enable the OpenXR Remoting extension if supported.
bool HandleXrEvent(const XrEventDataBuffer &eventData) override
Handle connection/deconnection events.
static vtkOpenXRManagerRemoteConnection * New()
bool ConnectToRemote(XrInstance instance, XrSystemId id) override
Defines the OpenXR types and extensions common to all platforms.