From cffb189eea0b04c23b69dd8e670a0126387cdf83 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 23 Sep 2012 23:55:33 +0000 Subject: Resize Accela window for precision git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@164 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Filter_Accela/FTNoIR_FilterControls.ui | 26 +++++++++++++------------- FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp | 6 ++++-- 2 files changed, 17 insertions(+), 15 deletions(-) mode change 100644 => 100755 FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp diff --git a/FTNoIR_Filter_Accela/FTNoIR_FilterControls.ui b/FTNoIR_Filter_Accela/FTNoIR_FilterControls.ui index 51345de2..d5b08268 100755 --- a/FTNoIR_Filter_Accela/FTNoIR_FilterControls.ui +++ b/FTNoIR_Filter_Accela/FTNoIR_FilterControls.ui @@ -10,7 +10,7 @@ 0 0 880 - 349 + 643 @@ -44,13 +44,13 @@ 850 - 300 + 594 300 - 300 + 594 @@ -60,7 +60,7 @@ Rotation - + 20 @@ -73,13 +73,13 @@ 4 - 8 + 6 191 - 23 + 75 1 @@ -87,14 +87,14 @@ 1 - + 255 170 0 - + 192 192 @@ -116,7 +116,7 @@ Translation - + 20 @@ -129,13 +129,13 @@ 4 - 8 + 6 191 - 23 + 75 1 @@ -143,14 +143,14 @@ 1 - + 85 255 0 - + 192 192 diff --git a/FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp b/FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp old mode 100644 new mode 100755 index 60b895a4..c71469c4 --- a/FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp +++ b/FTNoIR_Filter_Accela/ftnoir_filter_accela.cpp @@ -17,8 +17,8 @@ #include FTNoIR_Filter::FTNoIR_Filter() : - functionConfig("Accela-Scaling-Rotation", 4, 8), - translationFunctionConfig("Accela-Scaling-Translation", 4, 8) + functionConfig("Accela-Scaling-Rotation", 4, 6), + translationFunctionConfig("Accela-Scaling-Translation", 4, 6) { first_run = true; loadSettings(); // Load the Settings @@ -68,6 +68,8 @@ void FTNoIR_Filter::FilterHeadPoseData(THeadPoseData *current_camera_position, T if (first_run) { + functionConfig.setTrackingActive(true); + translationFunctionConfig.setTrackingActive(true); new_camera_position->x=target[0]; new_camera_position->y=target[1]; new_camera_position->z=target[2]; -- cgit v1.2.3