28 #include <scolPlugin.h>
29 #include <boost/thread/thread.hpp>
30 #include <boost/bind.hpp>
60 static bool isInitialized;
65 boost::thread mThread;
68 double mTimeWarpOffset;
72 ovrFrameTiming mFrameTiming;
73 ovrTrackingState mTrackingState;
92 Quatf GetSensorOrientation();
93 Vector3f GetSensorYawPitchRoll();
94 Vector3f GetSensorAcceleration();
95 Vector3f GetSensorPosition();
98 void SetLowPersistance(
bool state);
99 bool GetLowPersistance();
100 bool GetStereoConfigDistortionMesh(ovrEyeType eye, ovrDistortionMesh &mesh);
101 bool GetProjectionMatrix(ovrEyeType eye,
float nearclip,
float farclip, ovrMatrix4f &mat);
103 bool GetTimeWarpMatrix(ovrEyeType eye, ovrMatrix4f* mat);
104 Sizei GetStereoConfigFovTextureSize(ovrEyeType eye);
105 bool GetStereoConfigUvScaleOffset(ovrEyeType eye, Sizei textSize, Vector2f &scale, Vector2f &offset);
106 bool GetWindowPosAndSize(Vector2i &pos, Sizei &size,
int &monitorIndex);
107 float GetStereoConfigAspect();
108 float GetStereoConfigFovY();
109 float GetStereoIPD();
112 void SetTimewarpOffset(
double value);