From 4c95700fc6848d46a33b565df7eb81ada2b32987 Mon Sep 17 00:00:00 2001 From: Patrick Ruoff Date: Mon, 31 Dec 2012 12:33:18 +0000 Subject: Updated PointTracker git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@200 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h | 35 ++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'FTNoIR_Tracker_PT/ftnoir_tracker_pt_settings.h') 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 #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 -- cgit v1.2.3