summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-02-12 16:13:30 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-02-12 16:13:30 +0000
commit63ce1b5dc62e5c1a079f8a675c0a4371adb27d29 (patch)
tree0a8ac58de927502c9f33d97a2c82966ae980e54a /FaceTrackNoIR/tracker.h
parenta8a619f078f543b56e8ae785d92844b806444195 (diff)
Displaying headpose-data seemed to cause crashes.
Update is now done in FaceTrackNoIR.cpp, using a timer. git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@51 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index 56be4771..3eeae2f2 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -181,16 +181,6 @@ private:
static bool setEngineStop; // Stop tracker->engine, when OFF
static long prevHeadPoseTime; // Time from previous sample
- /** QT objects **/
- QLineEdit *headXLine;
- QLineEdit *headYLine;
- QLineEdit *headZLine;
-
- QLineEdit *headRotXLine;
- QLineEdit *headRotYLine;
- QLineEdit *headRotZLine;
-
- QWidget *headPoseWidget;
FaceTrackNoIR *mainApp;
QSharedPointer<ProtocolServerBase> server_Game; // Protocol Server to communicate headpose-data to the Game!
@@ -228,6 +218,8 @@ public:
static void setMaxSmooth(int x);
static void setPowCurve(int x);
+ static void getHeadPose(THeadPoseData *data); // Return the current headpose data
+
static float getSmoothFromList ( QList<float> *rawList );
static float getDegreesFromRads ( float rads ) { return (rads * 57.295781f); }
static float getRadsFromDegrees ( float degrees ) { return (degrees * 0.017453f); }