diff options
Diffstat (limited to 'LibOVR/Src/Tracking/Tracking_SensorStateReader.h')
-rw-r--r-- | LibOVR/Src/Tracking/Tracking_SensorStateReader.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/LibOVR/Src/Tracking/Tracking_SensorStateReader.h b/LibOVR/Src/Tracking/Tracking_SensorStateReader.h index f1aa5f9..53b6efe 100644 --- a/LibOVR/Src/Tracking/Tracking_SensorStateReader.h +++ b/LibOVR/Src/Tracking/Tracking_SensorStateReader.h @@ -30,6 +30,8 @@ limitations under the License. #include "../Kernel/OVR_Lockless.h" #include "Tracking_SensorState.h" +#include "../OVR_Profile.h" + namespace OVR { namespace Tracking { @@ -42,12 +44,13 @@ class SensorStateReader : public NewOverrideBase protected: const CombinedSharedStateUpdater *Updater; - // Transform from real-world coordinates to centered coordinates - Posed CenteredFromWorld; // Last latency warning time mutable double LastLatWarnTime; + // Transform from real-world coordinates to centered coordinates + Posed CenteredFromWorld; + public: SensorStateReader(); @@ -66,6 +69,9 @@ public: // Get the sensor status (same as GetSensorStateAtTime(...).Status) uint32_t GetStatus() const; + + void LoadProfileCenteredFromWorld(Profile* profile); + void SaveProfileCenteredFromWorld(Profile* profile); }; |