16 #include <matrix/vlVector.h>
18 #include <osg/Matrixd>
25 class DtVirtualRealityDriver;
27 class DtXtalSwapChain;
46 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();
86 virtual void getProjectionAngles(
vrvVirtualReality::DtEye eye,
double& left,
double& right,
double& bottom,
double& top,
double znear,
double zfar);
95 virtual void setHmdPoseOffset(
const DtVector& pos,
const DtQuat& ori);
98 virtual bool getTrackedPose(
DtVector& pos,
DtQuat& ori,
int index);
101 virtual void commitEyeTexture(osg::RenderInfo& renderInfo,
DtSwapChain* swapChain);
104 virtual void commitHudTexture(osg::RenderInfo& renderInfo,
DtSwapChain* swapChain);
107 virtual void updateOverlayDimensions(
float width,
float height,
float distance,
int pixWidth,
int pixHeight);
113 virtual bool reset();
116 virtual bool shutdown();
119 virtual bool hasTrackedCamera();
128 virtual void startMixedReality();
131 virtual void stopMixedReality();
134 virtual bool supportsMixedReality();
137 virtual bool supportsDepthBufferSubmission();
144 virtual void beginFrame();
147 virtual void beginRendering();
150 virtual void endRendering();
153 virtual void generateBlendedSwapChain(osg::RenderInfo& renderInfo);
An Xtal implementation of the DtVirtualRealityProvider abstract base class.
Definition: DtXtalProvider.h:31
Contains DLL export macros.
bool myGraphicsInitalized
Definition: DtXtalProvider.h:158
DtXtalSwapChain * mySwapChain
Definition: DtXtalProvider.h:160
DtSwapChain * myFrameEyeSwapChain
Definition: DtXtalProvider.h:161
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
A driver that manages virtual reality HMD and input devices.
Definition: DtVirtualRealityDriver.h:52
#define DT_DLL_VRVVR
Definition: vrvVirtualReality.h:19
DtEye
A virtual reality eye.
Definition: vrvVirtualReality.h:37
DtSwapChain * myFrameHudSwapChain
Definition: DtXtalProvider.h:162
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points. Coordinates are in local database coordinates The coordinat...
Base implementation of a texture swapchain.
Definition: DtSwapChain.h:35
Xtal doesn't use a swapchain, but currently we need to unpack the texture array into a texture 2d whi...
Definition: DtXtalSwapChain.h:22
An abstract interface that provides VR System API services. Providers are created and provided to the...
Definition: DtVirtualRealityProvider.h:47
Contains makVrv::DtQuat class.
DtVrOverlayMode
Virtual reality render mode.
Definition: vrvVirtualReality.h:63
A VRV channel that represents the eyes of the HMD A Virtual Reality channel can render in a few diffe...
Definition: DtVirtualRealityChannel.h:30
Object to handle rendering a mixed reality mask object into the scene. Typically the it renders an ob...
Definition: DtMixedRealityMask.h:38
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel...
Definition: DtSubmitOverlayCallback.h:30
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
A utility Quaternion class.
Definition: DtQuat.h:19
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:30
uint32_t myDevice
Definition: DtXtalProvider.h:157