X-Git-Url: http://git.tdb.fi/?p=libs%2Fvr.git;a=blobdiff_plain;f=source%2Fsystem.h;fp=source%2Fsystem.h;h=0610e29e80db7714d8b7fe31c33290546e1141ab;hp=0000000000000000000000000000000000000000;hb=b6de7d24475dec8f5d6b8148a69cf8b561bc0761;hpb=c07c707c480f4e989caee17541187f08f136d216 diff --git a/source/system.h b/source/system.h new file mode 100644 index 0000000..0610e29 --- /dev/null +++ b/source/system.h @@ -0,0 +1,33 @@ +#ifndef MSP_VR_SYSTEM_H_ +#define MSP_VR_SYSTEM_H_ + +#include +#include +#include + +namespace Msp { +namespace VR { + +class HeadTrackingCamera; +class StereoCombiner; +class StereoView; + +class System +{ +protected: + System() { } +public: + virtual ~System() { } + + static System *create(const std::string &); + + virtual void configure_window(Graphics::Window &) const = 0; + virtual void configure_view(StereoView &) const = 0; + virtual HeadTrackingCamera *create_camera(const GL::Camera &) = 0; + virtual StereoCombiner *create_combiner(GL::View &) = 0; +}; + +} // namespace VR +} // namespace Msp + +#endif