1 #ifndef MSP_VR_LIBOVRSYSTEM_H_
2 #define MSP_VR_LIBOVRSYSTEM_H_
4 #include <msp/vr/system.h>
5 #include "libovrcamera.h"
6 #include "libovrcombiner.h"
11 class LibOVRSystem: public System
21 static unsigned n_instances;
25 virtual ~LibOVRSystem();
27 const Private &get_private() const { return *priv; }
29 virtual void configure_window(Graphics::Window &) const;
30 virtual void configure_view(StereoView &) const;
31 virtual LibOVRCamera *create_camera(const GL::Camera &);
32 virtual LibOVRCombiner *create_combiner(GL::View &);
36 bool is_timing_active() const { return timing_active; }
37 double get_tracking_time() const;
38 double get_timewarp_time() const;
39 double get_current_time() const;