diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2012-10-18 16:25:18 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2012-10-18 16:25:18 +0000 |
commit | 5c5c710d03016618a971d7ff20477a90893fbc48 (patch) | |
tree | 6e743999b526591111dd05be390e23be3ab5ecc2 /FTNoIR_Tracker_SM | |
parent | 288cf615db9efd5307d0ecee3e3380431d6c2faf (diff) |
Started work on incorporating two headtracker at once.
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@189 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM')
-rw-r--r-- | FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h | 4 | ||||
-rw-r--r-- | FTNoIR_Tracker_SM/ftnoir_tracker_faceapi.cpp | 2 | ||||
-rw-r--r-- | FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h index 4d7f9b52..5f3eb9b9 100644 --- a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h +++ b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h @@ -40,7 +40,7 @@ public: FTNoIR_Tracker();
~FTNoIR_Tracker();
- void Initialize( QFrame *videoframe );
+ void Initialize( QFrame *videoframe, int numTracker );
void StartTracker( HWND parent_window );
void StopTracker( bool exit );
bool GiveHeadPoseData(THeadPoseData *data); // Returns true if confidence is good
@@ -67,7 +67,7 @@ public: virtual ~TrackerControls();
void showEvent ( QShowEvent * event );
- void Initialize(QWidget *parent);
+ void Initialize(QWidget *parent, int numTracker);
void registerTracker(ITracker *tracker) {};
void unRegisterTracker() {};
diff --git a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi.cpp b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi.cpp index 52fff404..b04c856b 100644 --- a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi.cpp +++ b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi.cpp @@ -42,7 +42,7 @@ FTNoIR_Tracker::~FTNoIR_Tracker() hSMMemMap = 0;
}
-void FTNoIR_Tracker::Initialize( QFrame *videoframe )
+void FTNoIR_Tracker::Initialize( QFrame *videoframe, int numTracker )
{
qDebug() << "FTNoIR_Tracker::Initialize says: Starting ";
diff --git a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp index ab2ff262..e04af2f7 100644 --- a/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp +++ b/FTNoIR_Tracker_SM/ftnoir_tracker_faceapi_dialog.cpp @@ -77,7 +77,7 @@ TrackerControls::~TrackerControls() { //
// Initialize tracker-client-dialog
//
-void TrackerControls::Initialize(QWidget *parent) {
+void TrackerControls::Initialize(QWidget *parent, int numTracker) {
QPoint offsetpos(200, 200);
if (parent) {
|