summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-05-28 13:08:36 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-05-28 13:08:36 +0000
commit2852ec626fec6d4955a41202feec6be27e776e93 (patch)
tree6ec9fad989d838b19b44d326c597a0f07134cd7d /FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
parent8c8ddc7500db299c52ce8d818ab84ea65d64ddb6 (diff)
Added filter setting faceAPI
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@84 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h')
-rw-r--r--FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
index 702f236e..4a26a824 100644
--- a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
+++ b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h
@@ -65,9 +65,11 @@ private:
void save();
bool SMCreateMapping();
void doCommand( int command );
+ void doCommand( int command, int value );
/** helper **/
bool settingsDirty;
+ int prev_state; // Previous engine state
//
// global variables
@@ -82,7 +84,8 @@ private slots:
void doOK();
void doCancel();
void settingChanged() { settingsDirty = true; };
- void showSettings();
+ void doTimUpdate();
+ void showSettings( int newState );
void doStartEngine(){
doCommand(FT_SM_START);
}
@@ -92,5 +95,12 @@ private slots:
void doShowCam(){
doCommand(FT_SM_SHOW_CAM);
}
+ void doSetFilter(int value){
+ doCommand(FT_SM_SET_PAR_FILTER, value);
+ }
+
+signals:
+ void stateChanged(int newState);
+
};