summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_hatire/ftnoir_tracker_hat.h')
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.h87
1 files changed, 0 insertions, 87 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h b/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
deleted file mode 100644
index 0dbc4c8c..00000000
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.h
+++ /dev/null
@@ -1,87 +0,0 @@
-#ifndef FTNOIR_TRACKER_HAT_H
-#define FTNOIR_TRACKER_HAT_H
-
-#ifdef OPENTRACK_API
-# include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-# include "facetracknoir/global-settings.h"
-#endif
-#include "ftnoir_tracker_hat_settings.h"
-#include "ftnoir_arduino_type.h"
-#include <QObject>
-#include <QPalette>
-#include <QtGui>
-#include <QByteArray>
-#include <QMessageBox>
-#include <QtSerialPort/QSerialPort>
-#include <QtSerialPort/QSerialPortInfo>
-#include <QMutex>
-#include <QMutexLocker>
-
-#define VER_FILEVERSION_STR "Version 2.0.7\0"
-
-class FTNoIR_Tracker : public QObject, public ITracker
-{
- Q_OBJECT
-public:
- FTNoIR_Tracker();
- ~FTNoIR_Tracker();
-
- virtual void StartTracker(QFrame*);
- virtual void GetHeadPoseData(double* data);
- void applysettings(const TrackerSettings& settings);
- void notifyCenter();
- bool notifyZeroed();
- void reset();
- void SerialInfo();
- void sendcmd(const QByteArray &cmd);
- void get_info( int *tps );
-
-private Q_SLOTS:
- void SerialRead();
-
-signals:
- void sendMsgInfo(const QByteArray &MsgInfo);
-
-
-private:
- QSerialPort *ComPort;
- TArduinoData ArduinoData, HAT ; // Trame from Arduino
- QByteArray dataRead;
- QByteArray dataToSend;
- QByteArray Begin;
- QByteArray End;
- QMutex mutex;
- int frame_cnt;
-
- TrackerSettings settings;
- int CptError;
-};
-
-
-//*******************************************************************************************************
-// FaceTrackNoIR Tracker DLL. Functions used to get general info on the Tracker
-//*******************************************************************************************************
-class TrackerDll :
-#if defined(OPENTRACK_API)
- public Metadata
-#else
- public ITrackerDll
-#endif
-{
-public:
- TrackerDll();
- ~TrackerDll();
-
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
-
-private:
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-};
-
-
-#endif // FTNOIR_TRACKER_HAT_H