summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/ftnoir_tracker_pt.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-03-20 06:24:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-03-20 06:24:33 +0100
commit7536ac46d919ab2a85d6ea3876e3a725af971e3f (patch)
treefd7dc713f2fe5ec7abbacddcbefbc91e3139ccd8 /tracker-pt/ftnoir_tracker_pt.h
parent761fe827269d4cf34d33caadbef37d885cccc615 (diff)
tracker/pt: camera changes
- move dt handling here, from ITracker impl - don't depend on other PT headers. we'd like to reuse the code. - adjust return value convention. - get rid of dt_valid - return fps as a double Adjust usages in ITracker impl and dialog.
Diffstat (limited to 'tracker-pt/ftnoir_tracker_pt.h')
-rw-r--r--tracker-pt/ftnoir_tracker_pt.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tracker-pt/ftnoir_tracker_pt.h b/tracker-pt/ftnoir_tracker_pt.h
index fba09c04..26d935f0 100644
--- a/tracker-pt/ftnoir_tracker_pt.h
+++ b/tracker-pt/ftnoir_tracker_pt.h
@@ -16,7 +16,6 @@
#include "camera.h"
#include "point_extractor.h"
#include "point_tracker.h"
-#include "compat/timer.hpp"
#include "cv/video-widget.hpp"
#include "compat/util.hpp"
@@ -53,6 +52,7 @@ public:
bool get_cam_info(CamInfo* info);
public slots:
void apply_settings();
+ void set_fov(int value);
protected:
void run() override;
private:
@@ -74,7 +74,6 @@ private:
qshared<QLayout> layout;
settings_pt s;
- Timer time;
cv::Mat frame, preview_frame;
std::vector<vec2> points;