diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 09:08:56 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-03-22 09:08:56 +0000 |
commit | be57b6b8d3f8339980df08f196d23415f7974418 (patch) | |
tree | f77ed10035c76e6f3e617253bee09c99bb03e25d /FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h | |
parent | 7eeb8dfaede7bb54b37b8ea538135914a43ab011 (diff) |
First success merging 3.2.6
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@55 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h')
-rw-r--r-- | FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h index 9af25800..5bed0a16 100644 --- a/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h +++ b/FTNoIR_Tracker_SM/FTNoIR_Tracker_SM.h @@ -1,18 +1,14 @@ #include "..\ftnoir_tracker_base\ftnoir_tracker_base.h"
+#include "..\ftnoir_tracker_base\ftnoir_tracker_sm_types.h"
#include "ui_FTNoIR_SMClientcontrols.h"
-#include "mainwindow.h"
-#include "sm_api_qt.h"
#include <QMessageBox>
#include <QSettings>
+#include <QProcess>
#include "Windows.h"
#include "math.h"
using namespace std;
-//using namespace sm::faceapi::samplecode;
-using namespace sm::faceapi;
-using namespace sm::faceapi::qt;
-using namespace sm::faceapi::samplecode;
class FTNoIR_Tracker_SM : public ITracker
{
@@ -26,17 +22,28 @@ public: void StopTracker();
bool GiveHeadPoseData(THeadPoseData *data); // Returns true if confidence is good
void loadSettings();
+ bool SMCreateMapping();
bool setParameterValue(const int index, const float newvalue);
private:
/** face api variables **/
- APIScope *faceapi_scope;
- QSharedPointer<EngineBase> _engine;
- VideoDisplayWidget *_display;
- QVBoxLayout *l;
- MainWindow *main_window;
+ //APIScope *faceapi_scope;
+ // QSharedPointer<EngineBase> _engine;
+ //VideoDisplayWidget *_display;
+ //QVBoxLayout *l;
+ //MainWindow *main_window;
//parameter list for the filter-function(s)
+
+ //
+ // global variables
+ //
+ HANDLE hSMMemMap;
+ SMMemMap *pMemData;
+ HANDLE hSMMutex;
+// smEngineHeadPoseData new_head_pose;
+ QProcess *faceAPI;
+
enum
{
kPortAddress=0, // Index in QList
|