]> git.tdb.fi Git - libs/vr.git/blob - source/displaydevice.h
Add dependency to mspgui since symbols from it are used
[libs/vr.git] / source / displaydevice.h
1 #ifndef MSP_VR_DISPLAYDEVICE_H_
2 #define MSP_VR_DISPLAYDEVICE_H_
3
4 #include <msp/gl/camera.h>
5 #include <msp/gl/view.h>
6
7 namespace Msp {
8 namespace VR {
9
10 class HeadTrackingCamera;
11 class StereoCombiner;
12 class StereoView;
13
14 class DisplayDevice
15 {
16 protected:
17         DisplayDevice() { }
18 public:
19         virtual ~DisplayDevice() { }
20
21         virtual void configure_window(Graphics::Window &) const = 0;
22         virtual void configure_view(StereoView &) const = 0;
23         virtual HeadTrackingCamera *create_camera(const GL::Camera &) = 0;
24         virtual StereoCombiner *create_combiner(GL::View &) = 0;
25 };
26
27 } // namespace VR
28 } // namespace Msp
29
30 #endif