diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-17 08:28:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-07-17 08:28:51 +0200 |
commit | e3a5755b1c675e66163a879ee5e5290bf0b01251 (patch) | |
tree | 4de6d67c1b157459d92653e201b0a3846d40d8f7 /ftnoir_tracker_pt | |
parent | fe8fa2db6a8b01e06d6fa7129a38211ce164895e (diff) | |
parent | 45b346cc1a4a7b7e6716ec8ee0f58ad03c60d865 (diff) |
Merge branch 'unstable' into trackhat-ui
Diffstat (limited to 'ftnoir_tracker_pt')
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.cpp | 10 | ||||
-rw-r--r-- | ftnoir_tracker_pt/ftnoir_tracker_pt.h | 6 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp index d3cf18c1..a77d206a 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.cpp @@ -250,3 +250,13 @@ void Tracker_PT::data(THeadPoseData *data) data[TZ] = t[2] / 10.0; } } + +//----------------------------------------------------------------------------- +#ifdef OPENTRACK_API +#else +#pragma comment(linker, "/export:GetTracker=_GetTracker@0") +OPENTRACK_EXPORT ITrackerPtr __stdcall GetTracker() +{ + return new Tracker_PT; +} +#endif diff --git a/ftnoir_tracker_pt/ftnoir_tracker_pt.h b/ftnoir_tracker_pt/ftnoir_tracker_pt.h index d0764933..21da9a2c 100644 --- a/ftnoir_tracker_pt/ftnoir_tracker_pt.h +++ b/ftnoir_tracker_pt/ftnoir_tracker_pt.h @@ -83,6 +83,10 @@ private: static constexpr double deg2rad = 3.14159265/180.0; }; -#undef VideoWidget +class TrackerDll : public Metadata +{ + QString name() { return QString("PointTracker 1.1"); } + QIcon icon() { return QIcon(":/Resources/Logo_IR.png"); } +}; #endif // FTNOIR_TRACKER_PT_H |