diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2010-12-18 14:18:36 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2010-12-18 14:18:36 +0000 |
commit | 53231950ec75f67a931d47b78987a6bcac9d2eb0 (patch) | |
tree | 8a3b2b7c1568126c59150a067a6b9d997bd04467 /FaceTrackNoIR/tracker.h | |
parent | 9e0250dcad1ef02dc6cba1315fe37c8c2329769a (diff) |
Tracker Source beginning FTNoIR tracker
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@31 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r-- | FaceTrackNoIR/tracker.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h index 1434cfb4..b81cf636 100644 --- a/FaceTrackNoIR/tracker.h +++ b/FaceTrackNoIR/tracker.h @@ -70,6 +70,11 @@ enum FTNoIR_Client { FSUIPC = 6
};
+enum FTNoIR_Face_Tracker {
+ FT_SM_FACEAPI = 0,
+ FT_FTNOIR = 1
+};
+
class FaceTrackNoIR; // pre-define parent-class to avoid circular includes
//
@@ -115,6 +120,7 @@ private: HANDLE m_WaitThread;
FTNoIR_Client selectedClient;
+ FTNoIR_Face_Tracker selectedTracker;
/** face api variables **/
APIScope *faceapi_scope;
@@ -162,19 +168,14 @@ private: QWidget *headPoseWidget;
FaceTrackNoIR *mainApp;
-// FTServer *server_FT; // Freetrack Server
- QSharedPointer<ProtocolServerBase> server_FG; // FlightGear Server
-// PPJoyServer *server_PPJoy; // PPJoy Server
-// FTIRServer *server_FTIR; // Fake TIR Server
-// SCServer *server_SC; // SimConnect Server
-// FSUIPCServer *server_FSUIPC; // FSUIPC Server
+ QSharedPointer<ProtocolServerBase> server_Game; // Protocol Server to communicate headpose-data to the Game!
protected:
// qthread override run method
void run();
public:
- Tracker( int clientID );
+ Tracker( int clientID, int facetrackerID );
~Tracker();
void setup(QWidget *head, FaceTrackNoIR *parent);
|