From 277cc7603eb6b4d9fed6a0a2de245e4cdde6ee8b Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Tue, 22 Mar 2011 21:34:47 +0000 Subject: Successfully use console app for faceAPI 3.2.6. combined with tracker class in DLL. Even managed to get the video-widget connected to the main-window... git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@56 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FTNoIR_Tracker_Base/ftnoir_tracker_base.h | 2 +- FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'FTNoIR_Tracker_Base') diff --git a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h index 1965d3d2..93fd5140 100644 --- a/FTNoIR_Tracker_Base/ftnoir_tracker_base.h +++ b/FTNoIR_Tracker_Base/ftnoir_tracker_base.h @@ -24,7 +24,7 @@ struct ITracker virtual void Release() = 0; // Member required to enable Auto-remove virtual void Initialize( QFrame *videoframe ) = 0; virtual void StartTracker( HWND parent_window ) = 0; - virtual void StopTracker() = 0; + virtual void StopTracker(bool exit) = 0; virtual bool GiveHeadPoseData(THeadPoseData *data) = 0; }; diff --git a/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h b/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h index 9ebfd173..abc4a473 100644 --- a/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h +++ b/FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h @@ -21,3 +21,8 @@ struct SMMemMap { }; typedef SMMemMap * PSMMemMap; +enum FTNoIR_Tracker_Command { + FT_SM_START = 10, + FT_SM_STOP = 20, + FT_SM_EXIT = 100 +}; -- cgit v1.2.3