diff options
Diffstat (limited to 'opentrack')
-rw-r--r-- | opentrack/plugin-api.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/opentrack/plugin-api.hpp b/opentrack/plugin-api.hpp index 6cd76a16..09b7f9ee 100644 --- a/opentrack/plugin-api.hpp +++ b/opentrack/plugin-api.hpp @@ -156,6 +156,9 @@ struct OPENTRACK_API_EXPORT ITracker virtual void start_tracker(QFrame* frame) = 0; // return XYZ yaw pitch roll data. don't block here, use a separate thread for computation. virtual void data(double *data) = 0; + // tracker notified of centering + // returning true makes identity the center pose + virtual bool center() { return false; } }; struct OPENTRACK_API_EXPORT ITrackerDialog : public plugin_api::detail::BaseDialog |