diff options
author | Khoa Nguyen <khoanguyen@3forcom.com> | 2023-09-26 14:17:30 +0700 |
---|---|---|
committer | Khoa Nguyen <khoanguyen@3forcom.com> | 2023-09-26 14:17:30 +0700 |
commit | a462b5411e4c6e958adb3b2d1a75657d56522942 (patch) | |
tree | df9aa3d97506834c4389e7f2dc738e396155df94 | |
parent | 4261d6e6cc366884cd35daf66d9fa35c3dda6267 (diff) |
tracker/tobii: remove unused
-rw-r--r-- | tracker-tobii/tobii.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/tracker-tobii/tobii.h b/tracker-tobii/tobii.h index dedda7af..414f9f64 100644 --- a/tracker-tobii/tobii.h +++ b/tracker-tobii/tobii.h @@ -24,17 +24,15 @@ public: void data(double* data) override; private: - double last[6]{}; - tobii_api_t* api = nullptr; tobii_device_t* device = nullptr; - tobii_head_pose_t latest_head_pose { - 0LL, - TOBII_VALIDITY_INVALID, - { 0.f, 0.f, 0.f }, - { TOBII_VALIDITY_INVALID, TOBII_VALIDITY_INVALID, TOBII_VALIDITY_INVALID }, - { 0.f, 0.f, 0.f }, + tobii_head_pose_t latest_head_pose{ + .timestamp_us = 0LL, + .position_validity = TOBII_VALIDITY_INVALID, + .position_xyz = { 0.f, 0.f, 0.f }, + .rotation_validity_xyz = { TOBII_VALIDITY_INVALID, TOBII_VALIDITY_INVALID, TOBII_VALIDITY_INVALID }, + .rotation_xyz = { 0.f, 0.f, 0.f }, }; QMutex mtx; @@ -48,8 +46,7 @@ class tobii_dialog : public ITrackerDialog public: tobii_dialog(); - void register_tracker(ITracker*) override {} - void unregister_tracker() override {} + private slots: void doOK(); void doCancel(); |