summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
diff options
context:
space:
mode:
authorPatrick Ruoff <c14-radioactive@19e81ba0-9b1a-49c3-bd6c-561e1906d5fb>2012-12-31 12:33:18 +0000
committerPatrick Ruoff <c14-radioactive@19e81ba0-9b1a-49c3-bd6c-561e1906d5fb>2012-12-31 12:33:18 +0000
commit4c95700fc6848d46a33b565df7eb81ada2b32987 (patch)
treea0f13e7a70f2e22516b9fae6177e7e8b7af269fe /FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
parent977f25772f449e79089059820453bb7499ff4d35 (diff)
Updated PointTracker
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@200 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h')
-rw-r--r--FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h35
1 files changed, 33 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h b/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
index 8868f418..23496d91 100644
--- a/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
+++ b/FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h
@@ -11,9 +11,10 @@
#include <opencv2/opencv.hpp>
#include "point_tracker.h"
+
//-----------------------------------------------------------------------------
struct TrackerSettings
-{
+{
// camera
int cam_index;
float cam_f;
@@ -34,11 +35,41 @@ struct TrackerSettings
cv::Vec3f t_MH;
int sleep_time; // in ms
- int reset_time; // in s
+ int reset_time; // in ms
bool video_widget;
void load_ini();
void save_ini() const;
};
+
+//-----------------------------------------------------------------------------
+struct TrackerDialogSettings
+{
+ enum
+ {
+ MODEL_CLIP,
+ MODEL_CAP,
+ MODEL_CUSTOM
+ };
+ int active_model_panel;
+
+ int M01x;
+ int M01y;
+ int M01z;
+ int M02x;
+ int M02y;
+ int M02z;
+ int clip_ty;
+ int clip_tz;
+ int clip_by;
+ int clip_bz;
+ int cap_x;
+ int cap_y;
+ int cap_z;
+
+ void load_ini();
+ void save_ini() const;
+};
+
#endif //FTNOIR_TRACKER_PT_SETTINGS_H \ No newline at end of file