summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_FD
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-10-18 16:25:18 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-10-18 16:25:18 +0000
commit5c5c710d03016618a971d7ff20477a90893fbc48 (patch)
tree6e743999b526591111dd05be390e23be3ab5ecc2 /FTNoIR_Tracker_FD
parent288cf615db9efd5307d0ecee3e3380431d6c2faf (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_FD')
-rw-r--r--FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h4
-rw-r--r--FTNoIR_Tracker_FD/ftnoir_tracker_facedetect.cpp2
-rw-r--r--FTNoIR_Tracker_FD/ftnoir_tracker_facedetect_dialog.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h b/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
index 5b476758..eccc7ad7 100644
--- a/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
+++ b/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
@@ -37,7 +37,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
@@ -66,7 +66,7 @@ public:
explicit TrackerControls();
virtual ~TrackerControls();
void Release(); // Member functions which are accessible from outside the DLL
- void Initialize(QWidget *parent);
+ void Initialize(QWidget *parent, int numTracker);
void registerTracker(ITracker *tracker) {};
void unRegisterTracker() {};
void NotifyZeroing();
diff --git a/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect.cpp b/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect.cpp
index 620fb9fd..f5d7931d 100644
--- a/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect.cpp
+++ b/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect.cpp
@@ -94,7 +94,7 @@ FTNoIR_Tracker::~FTNoIR_Tracker()
//CloseHandle(hMutex);
}
-void FTNoIR_Tracker::Initialize( QFrame *videoframe )
+void FTNoIR_Tracker::Initialize( QFrame *videoframe, int numTracker )
{
qDebug("FTNoIR_Tracker::Initialize()");
WaitForSingleObject(hMutex, INFINITE);
diff --git a/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect_dialog.cpp b/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect_dialog.cpp
index 71b19242..aaa95637 100644
--- a/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect_dialog.cpp
+++ b/FTNoIR_Tracker_FD/ftnoir_tracker_facedetect_dialog.cpp
@@ -117,7 +117,7 @@ void TrackerControls::Release()
//
// Initialize tracker-client-dialog
//
-void TrackerControls::Initialize(QWidget *parent) {
+void TrackerControls::Initialize(QWidget *parent, int numTracker) {
QPoint offsetpos(200, 200);
if (parent) {