summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-03-10 20:40:13 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-03-10 20:40:13 +0000
commit09b4c95b8036b9466ca89acbe0b1f3d810499863 (patch)
treee6b99fe5420181331e70c14277a6af93f084f1c5 /FaceTrackNoIR/tracker.h
parent7dc20f380c80b1b0597e619e66d23921f0309aa0 (diff)
faceAPI inside DLL works; no video-display yet...
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@53 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index bfed3cd4..2ee26bba 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -23,7 +23,6 @@
#ifndef __TRACKER_H__
#define __TRACKER_H__
-//#include <sm_api_qt.h>
#include <QThread>
#include <QMessageBox>
#include <QLineEdit>
@@ -62,9 +61,6 @@ typedef IFilter *(WINAPI *importGetFilter)(void);
#pragma comment (lib, "dinput8.lib")
#pragma comment (lib, "dxguid.lib")
-using namespace sm::faceapi;
-using namespace sm::faceapi::qt;
-
enum AngleName {
PITCH = 0,
YAW = 1,
@@ -155,16 +151,9 @@ private:
FTNoIR_Client selectedClient;
FTNoIR_Face_Tracker selectedTracker;
- ///** face api variables **/
-// APIScope *faceapi_scope;
- // QSharedPointer<EngineBase> _engine;
- //smEngineHandle _engine_handle;
static ITrackerPtr pTracker; // Pointer to Tracker instance (in DLL)
static IFilterPtr pFilter; // Pointer to Filter instance (in DLL)
- /** static callback method for the head pose tracking **/
- static void STDCALL receiveHeadPose(void *,smEngineHeadPoseData head_pose, smCameraVideoFrame video_frame);
- static void addHeadPose( smEngineHeadPoseData head_pose );
static void addHeadPose( THeadPoseData head_pose );
static void addRaw2List ( QList<float> *rawList, float maxIndex, float raw );
static float lowPassFilter ( float newvalue, float *oldvalue, float dt, float coeff);
@@ -213,13 +202,13 @@ public:
void setup(QWidget *head, FaceTrackNoIR *parent);
- void registerHeadPoseCallback();
+// void registerHeadPoseCallback();
bool handleGameCommand ( int command );
QString getGameProgramName(); // Get the ProgramName from the game and display it.
void loadSettings(); // Load settings from the INI-file
bool isShortKeyPressed( TShortKey *key, BYTE *keystate );
- QSharedPointer<EngineBase> getEngine() { return _engine; };
+// QSharedPointer<EngineBase> getEngine() { return _engine; };
static bool getConfid() { return confid; }