diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-01 06:15:54 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-11-01 08:57:27 +0100 |
commit | 8f83609ed94e1bbd4173f15221e69f92fcc492eb (patch) | |
tree | ea0e3d80002c3ccabf37cf57a750c48e0475adef /opentrack/tracker.h | |
parent | 99039d06ad001657da88018a2b85f654c33ca0fc (diff) |
use simple-mat now opencv nixed from core
Diffstat (limited to 'opentrack/tracker.h')
-rw-r--r-- | opentrack/tracker.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/opentrack/tracker.h b/opentrack/tracker.h index 1c2d12cd..23939576 100644 --- a/opentrack/tracker.h +++ b/opentrack/tracker.h @@ -3,16 +3,15 @@ #include <atomic> #include <vector> -#include <opencv2/core/core.hpp> - -#include "./timer.hpp" -#include "./plugin-support.h" -#include "./mappings.hpp" -#include "./pose.hpp" +#include "timer.hpp" +#include "plugin-support.h" +#include "mappings.hpp" +#include "pose.hpp" +#include "simple-mat.hpp" #include "../qfunctionconfigurator/functionconfig.h" -#include "./main-settings.hpp" -#include "./options.hpp" +#include "main-settings.hpp" +#include "options.hpp" #include <QMutex> #include <QThread> @@ -33,13 +32,13 @@ private: std::atomic<bool> should_quit; SelectedLibraries const& libs; - cv::Matx33d r_b; + dmat<3, 3> r_b; double t_b[3]; double map(double pos, bool invertp, Mapping& axis); void logic(); - void t_compensate(const cv::Matx33d& rmat, const double* ypr, double* output, bool rz); + void t_compensate(const dmat<3, 3>& rmat, const double* ypr, double* output, bool rz); void run() override; public: Tracker(main_settings& s, Mappings& m, SelectedLibraries& libs); |