VTK  9.4.20250102
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
15#ifndef vtkOpenXRManagerRemoteConnection_h
16#define vtkOpenXRManagerRemoteConnection_h
17
19#include "vtkRenderingOpenXRRemotingModule.h" // For export macro
20
21#include "vtkOpenXR.h" // For XrInstance/XrSystemId
22
23VTK_ABI_NAMESPACE_BEGIN
24class VTKRENDERINGOPENXRREMOTING_EXPORT vtkOpenXRManagerRemoteConnection
26{
27public:
30
31 bool Initialize() override;
32 bool EndInitialize() override;
33 bool ConnectToRemote(XrInstance instance, XrSystemId id) override;
34
38 const char* GetExtensionName() override;
39
43 bool HandleXrEvent(const XrEventDataBuffer& eventData) override;
44
45protected:
48
49private:
51 void operator=(const vtkOpenXRManagerRemoteConnection&) = delete;
52
53 std::string OldXrRuntimeEnvValue;
54};
55
56VTK_ABI_NAMESPACE_END
57#endif
OpenXR manager connection no-op implementation.
OpenXR remoting connection strategy.
bool Initialize() override
Function called by vtkOpenXRManager before OpenXR initialization.
bool EndInitialize() override
Function called by vtkOpenXRManager after OpenXR initialization.
const char * GetExtensionName() override
Enable the OpenXR Remoting extension if supported.
static vtkOpenXRManagerRemoteConnection * New()
bool HandleXrEvent(const XrEventDataBuffer &eventData) override
Handle connection/deconnection events.
bool ConnectToRemote(XrInstance instance, XrSystemId id) override
Defines the OpenXR types and extensions common to all platforms.