Convert Oculus code to use SDK 0.4.4
[libs/vr.git] / source / oculusriftdevice.h
1 #ifndef MSP_VR_OCULUSRIFTDEVICE_H_
2 #define MSP_VR_OCULUSRIFTDEVICE_H_
3
4 #include "displaydevice.h"
5 #include "oculusriftcamera.h"
6 #include "oculusriftcombiner.h"
7
8 namespace Msp {
9 namespace VR {
10
11 class OculusRiftDevice: public DisplayDevice
12 {
13 public:
14         struct Private;
15
16 private:
17         Private *priv;
18
19         static unsigned n_instances;
20
21 public:
22         OculusRiftDevice();
23         virtual ~OculusRiftDevice();
24
25         const Private &get_private() const { return *priv; }
26
27         virtual OculusRiftCamera *create_camera(const GL::Camera &) const;
28         virtual OculusRiftCombiner *create_combiner() const;
29 };
30
31 } // namespace VR
32 } // namespace Msp
33
34 #endif