diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 21:34:47 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 21:34:47 +0000 |
commit | 277cc7603eb6b4d9fed6a0a2de245e4cdde6ee8b (patch) | |
tree | 1774fa28018005e4c96f5717d6d461dfb0123d5f /FTNoIR_Tracker_Base | |
parent | be57b6b8d3f8339980df08f196d23415f7974418 (diff) |
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
Diffstat (limited to 'FTNoIR_Tracker_Base')
-rw-r--r-- | FTNoIR_Tracker_Base/ftnoir_tracker_base.h | 2 | ||||
-rw-r--r-- | FTNoIR_Tracker_Base/ftnoir_tracker_sm_types.h | 5 |
2 files changed, 6 insertions, 1 deletions
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
+};
|