diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2010-06-12 09:34:27 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2010-06-12 09:34:27 +0000 |
commit | 513d1c8521aad3cd5ba7db3b87349553a793c151 (patch) | |
tree | 2f6fca2568d243ad716afaf62d7b1e5ac1214df2 /FaceTrackNoIR/tracker.h | |
parent | a0feb94b670a150e4574f1921cfcfe59049be822 (diff) |
PPJoy working
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@11 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r-- | FaceTrackNoIR/tracker.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h index 732d2a8d..10021ffb 100644 --- a/FaceTrackNoIR/tracker.h +++ b/FaceTrackNoIR/tracker.h @@ -46,6 +46,22 @@ using namespace sm::faceapi;
using namespace sm::faceapi::qt;
+enum AngleName {
+ PITCH = 0,
+ YAW = 1,
+ ROLL = 2,
+ X = 3,
+ Y = 4,
+ Z = 5
+};
+
+enum FTNoIR_Client {
+ FREE_TRACK = 0,
+ FLIGHTGEAR = 1,
+ FTNOIR = 2,
+ PPJOY = 3
+};
+
class FaceTrackNoIR; // pre-define parent-class to avoid circular includes
//
@@ -73,6 +89,8 @@ private: HANDLE m_StopThread;
HANDLE m_WaitThread;
+ FTNoIR_Client selectedClient;
+
/** face api variables **/
APIScope *faceapi_scope;
QSharedPointer<EngineBase> _engine;
@@ -125,7 +143,7 @@ protected: void run();
public:
- Tracker();
+ Tracker( int clientID );
~Tracker();
void setup(QWidget *head, FaceTrackNoIR *parent);
|