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_UDP | |
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_UDP')
-rw-r--r-- | FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h | 4 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp | 2 | ||||
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_udp_dialog.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h index b1638e7b..9e064474 100644 --- a/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h +++ b/FTNoIR_Tracker_UDP/FTNoIR_Tracker_UDP.h @@ -13,7 +13,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);
@@ -50,7 +50,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_UDP/ftnoir_tracker_udp.cpp b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp index ecf0e5dd..31952b54 100644 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp +++ b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp @@ -118,7 +118,7 @@ quint16 senderPort; }
}
-void FTNoIR_Tracker::Initialize( QFrame *videoframe )
+void FTNoIR_Tracker::Initialize( QFrame *videoframe, int numTracker )
{
qDebug() << "FTNoIR_Tracker::Initialize says: Starting ";
loadSettings();
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp_dialog.cpp b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp_dialog.cpp index c5bee64f..f65fb7c3 100644 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp_dialog.cpp +++ b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp_dialog.cpp @@ -59,7 +59,7 @@ TrackerControls::~TrackerControls() { //
// Initialize tracker-client-dialog
//
-void TrackerControls::Initialize(QWidget *parent) {
+void TrackerControls::Initialize(QWidget *parent, int numTracker) {
QPoint offsetpos(100, 100);
if (parent) {
|