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 
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
virtual bool ConnectToRemote(XrInstance vtkNotUsed(instance), XrSystemId vtkNotUsed(id))
static vtkOpenXRManagerConnection * New()
virtual bool HandleXrEvent(const XrEventDataBuffer &vtkNotUsed(eventData))
Handle Xr events specific to this connection strategy.
OpenXR manager connection no-op implementation.
virtual const char * GetExtensionName()
Return the OpenXR extension name that corresponds to this connection strategy.
OpenXR remoting connection strategy.
Defines the OpenXR types and extensions common to all platforms.