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
20VTK_ABI_NAMESPACE_BEGIN
21class VTKRENDERINGOPENXRREMOTING_EXPORT vtkOpenXRManagerRemoteConnection
23{
24public:
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
41protected:
44
45private:
47 void operator=(const vtkOpenXRManagerRemoteConnection&) = delete;
48};
49
50VTK_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.
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.