16 #include <matrix/vlVector.h>
18 #include <osg/Matrixd>
45 static bool isVrAvailable();
62 virtual const std::string& providerName();
65 virtual const std::string& deviceName();
68 virtual bool initializeVR();
71 virtual bool hasFocusViews();
74 virtual bool useVrs();
83 virtual void getProjectionAngles(
vrvVirtualReality::DtEye eye,
double& left,
double& right,
double& bottom,
double& top,
double znear,
double zfar);
95 virtual bool getTrackedPose(
DtVector& pos,
DtQuat& ori,
int index);
101 virtual bool shutdown();
104 virtual bool hasTrackedCamera();
115 ovrSession findOculusSystem()
const;
118 ovrTrackingState getTrackingState();
121 ovrInputState getInputState();
124 void setHudOffset(
const ovrPosef& pose);
127 void setOverlayEnabled(
bool enabled);
130 void commitEyeTexture(
vrvVirtualReality::DtEye eye, ovrTextureSwapChain swapChain, ovrTextureSwapChain depthSwapChain);
133 void commitHudTexture(ovrTextureSwapChain swapChain);
140 void beginRendering();
147 ovrEyeRenderDesc myEyeRenderDesc[2];
157 ovrLayerHeader* myLayers[2];
ovrHmdDesc myHmdDesc
Definition: DtOculusProvider.h:146
int myEyesCreated
Definition: DtOculusProvider.h:153
long long myFrameIndex
Definition: DtOculusProvider.h:151
bool myFrameBegan
Definition: DtOculusProvider.h:152
Contains DLL export macros.
DtVirtualRealityDriver * myDriverHandle
store a handle to the driver to avoid repeated lookup
Definition: DtOculusProvider.h:164
int myHeight
Definition: DtOculusProvider.h:150
An abstract interface that provides VR System API services.
A Tracked camera is typically attached to the HMD and can provide position and orientation data in ad...
Definition: DtTrackedCamera.h:27
Base class for GPU updates of the variable rate shading image Draw a full screen quad using a shader ...
Definition: DtVariableRateShadingImageUpdater.h:26
ovrLayerEyeFovDepth myViewLayer
Definition: DtOculusProvider.h:158
bool myHudEnabled
Definition: DtOculusProvider.h:155
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:49
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
std::string myDeviceName
Definition: DtOculusProvider.h:161
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:37
int myWidth
Definition: DtOculusProvider.h:149
ovrLayerQuad myHudLayer
Definition: DtOculusProvider.h:159
An Oculus implementation of the DtVirtualRealityProvider abstract base class.
Definition: DtOculusProvider.h:30
An abstract interface that provides VR System API services.
Definition: DtVirtualRealityProvider.h:43
Contains makVrv::DtQuat class.
A VRV channel that represents the eyes of the HMD A Virtual Reality channel can render in a few diffe...
Definition: DtVirtualRealityChannel.h:29
Object to handle rendering a mixed reality mask object into the scene.
Definition: DtMixedRealityMask.h:32
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitOverlayCallback.h:26
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
A utility Quaternion class.
Definition: DtQuat.h:22
A post processing effect responsible for submitting and mirroring the eye views to the VR subsystem...
Definition: DtVirtualRealityPostProcessor.h:34
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitViewCallback.h:29
ovrSession mySession
Definition: DtOculusProvider.h:145