16#ifndef vtkOpenXRManagerConnection_h
17#define vtkOpenXRManagerConnection_h
20#include "vtkRenderingOpenXRModule.h"
23VTK_ABI_NAMESPACE_BEGIN
41 virtual bool ConnectToRemote(XrInstance vtkNotUsed(instance), XrSystemId vtkNotUsed(
id))
54 virtual bool HandleXrEvent(
const XrEventDataBuffer& vtkNotUsed(eventData)) {
return false; }
void SetIPAddress(std::string ip)
Specify the address to connect to.
virtual bool Initialize()
Function called by vtkOpenXRManager before OpenXR initialization.
virtual bool HandleXrEvent(const XrEventDataBuffer &eventData)
Handle Xr events specific to this connection strategy.
~vtkOpenXRManagerConnection() override=default
static vtkOpenXRManagerConnection * New()
virtual bool ConnectToRemote(XrInstance instance, XrSystemId id)
std::string const & GetIPAddress() const
Specify the address to connect to.
virtual const char * GetExtensionName()
Return the OpenXR extension name that corresponds to this connection strategy.
vtkOpenXRManagerConnection()=default
virtual bool EndInitialize()
Function called by vtkOpenXRManager after OpenXR initialization.
Defines the OpenXR types and extensions common to all platforms.