From 825b01cad1cbba6bfc9a54ea2a18bd8a021e8c93 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Mon, 7 Jun 2010 20:33:48 +0000 Subject: Improvements git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@7 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb --- FaceTrackNoIR/tracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FaceTrackNoIR/tracker.h') diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h index 9cf89114..dcb075f6 100644 --- a/FaceTrackNoIR/tracker.h +++ b/FaceTrackNoIR/tracker.h @@ -81,6 +81,7 @@ private: static void STDCALL receiveHeadPose(void *,smEngineHeadPoseData head_pose, smCameraVideoFrame video_frame); static void addRaw2List ( QList *rawList, float maxIndex, float raw ); static float lowPassFilter ( float newvalue, float *oldvalue, float dt, float coeff); + static float getCorrectedNewRaw ( float NewRaw, float rotNeutral ); /** static member variables for saving the head pose **/ static THeadPoseDOF Pitch; // Head-rotation X-direction (Up/Down) @@ -175,7 +176,6 @@ public: static void setNeutralZone(int x) { rotNeutralZone = (x * 2.0f * 3.14159)/360.0f; } float getSmoothFromList ( QList *rawList ); - float getCorrectedNewRaw ( float NewRaw, float rotNeutral ); float getDegreesFromRads ( float rads ) { return ((rads * 360.0f)/ (2.0f * 3.14159)); } // For now, use one slider for all -- cgit v1.2.3