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; }
60 void SetIPAddress(std::string ip) { this->IPAddress = std::move(ip); }
61 std::string
const&
GetIPAddress()
const {
return this->IPAddress; }
abstract base class for most VTK objects
OpenXR manager connection no-op implementation.
void SetIPAddress(std::string ip)
Specify the address to connect to.
virtual bool Initialize()
Function called by vtkOpenXRManager before OpenXR initialization.
~vtkOpenXRManagerConnection() override=default
static vtkOpenXRManagerConnection * New()
virtual bool ConnectToRemote(XrInstance vtkNotUsed(instance), XrSystemId vtkNotUsed(id))
virtual bool HandleXrEvent(const XrEventDataBuffer &vtkNotUsed(eventData))
Handle Xr events specific to this connection strategy.
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.