From 027fd0f8b4efcf005a0bba850109089737f40a3f Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 8 Jul 2015 06:51:51 +0200 Subject: retab and reformat only --- ftnoir_tracker_ht/ftnoir_tracker_ht.h | 14 +++++++------- ftnoir_tracker_ht/ht-api.h | 24 ++++++++++++------------ 2 files changed, 19 insertions(+), 19 deletions(-) (limited to 'ftnoir_tracker_ht') diff --git a/ftnoir_tracker_ht/ftnoir_tracker_ht.h b/ftnoir_tracker_ht/ftnoir_tracker_ht.h index 25839039..348fc246 100644 --- a/ftnoir_tracker_ht/ftnoir_tracker_ht.h +++ b/ftnoir_tracker_ht/ftnoir_tracker_ht.h @@ -37,7 +37,7 @@ class Tracker : public QObject, public ITracker { Q_OBJECT public: - Tracker(); + Tracker(); ~Tracker() override; void start_tracker(QFrame* frame); void data(double *data); @@ -46,9 +46,9 @@ private: settings s; PortableLockedShm lck_shm; ht_shm_t* shm; - QProcess subprocess; + QProcess subprocess; HTVideoWidget* videoWidget; - QHBoxLayout* layout; + QHBoxLayout* layout; }; // Widget that has controls for FTNoIR protocol client-settings. @@ -56,17 +56,17 @@ class TrackerControls : public ITrackerDialog, protected camera_dialog { Q_OBJECT public: - explicit TrackerControls(); + explicit TrackerControls(); void register_tracker(ITracker *) {} void unregister_tracker() {} private: - Ui::Form ui; + Ui::Form ui; settings s; private slots: - void doOK(); - void doCancel(); + void doOK(); + void doCancel(); void camera_settings(); }; diff --git a/ftnoir_tracker_ht/ht-api.h b/ftnoir_tracker_ht/ht-api.h index 77903bac..4f88a6a3 100644 --- a/ftnoir_tracker_ht/ht-api.h +++ b/ftnoir_tracker_ht/ht-api.h @@ -14,20 +14,20 @@ struct ht_context; typedef struct ht_context headtracker_t; typedef struct ht_config { - float field_of_view; - float classification_delay; - int pyrlk_pyramids; - int pyrlk_win_size_w; - int pyrlk_win_size_h; + float field_of_view; + float classification_delay; + int pyrlk_pyramids; + int pyrlk_win_size_w; + int pyrlk_win_size_h; float ransac_max_inlier_error; float ransac_max_reprojection_error; - int max_keypoints; - float keypoint_distance; + int max_keypoints; + float keypoint_distance; int force_width; - int force_height; - int force_fps; - int camera_index; - bool debug; + int force_height; + int force_fps; + int camera_index; + bool debug; int ransac_num_iters; float ransac_min_features; float ransac_max_mean_error; @@ -39,7 +39,7 @@ typedef struct ht_config { typedef struct { double rotx, roty, rotz; double tx, ty, tz; - bool filled; + bool filled; } ht_result_t; HT_API(headtracker_t*) ht_make_context(const ht_config_t* config, const char* filename); -- cgit v1.2.3