summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_ht
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-08 06:51:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-08 06:51:51 +0200
commit027fd0f8b4efcf005a0bba850109089737f40a3f (patch)
tree44261588d2024e3704b1acc9111682ad091dccff /ftnoir_tracker_ht
parentab47eac174db02710a7fa6c194e00c31cef755a4 (diff)
retab and reformat only
Diffstat (limited to 'ftnoir_tracker_ht')
-rw-r--r--ftnoir_tracker_ht/ftnoir_tracker_ht.h14
-rw-r--r--ftnoir_tracker_ht/ht-api.h24
2 files changed, 19 insertions, 19 deletions
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<Tracker>
{
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);