summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-09-13 17:06:22 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-09-13 17:06:22 +0000
commitc26901009a23c3b7df5197b3b326cb14d12e0d7f (patch)
tree34646ae48ad4e287de8109efcc57d1389f6d6fed /FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
parent4b27a934f41d5d978b51ba6e94f2440ca403cb9c (diff)
Class TrackerDll added, to get info about the Tracker
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@128 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h')
-rw-r--r--FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h43
1 files changed, 23 insertions, 20 deletions
diff --git a/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h b/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
index ddb9afde..01a39451 100644
--- a/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
+++ b/FTNoIR_Tracker_FD/FTNoIR_Tracker_FD.h
@@ -37,7 +37,6 @@ public:
FTNoIR_Tracker();
~FTNoIR_Tracker();
- void Release();
void Initialize( QFrame *videoframe );
void StartTracker( HWND parent_window );
void StopTracker( bool exit );
@@ -47,10 +46,6 @@ public:
bool notifyZeroed();
void refreshVideo();
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
-
private:
bool activep;
//QList<std::pair<float,float>> parameterRange;
@@ -61,11 +56,6 @@ private:
PROCESS_INFORMATION procInfo;
VideoWidget* ctrl;
QFrame* qframe;
-
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-
};
class TrackerControls: public QWidget, Ui::UICFDClientControls, public ITrackerDialog
@@ -79,11 +69,6 @@ public:
void Initialize(QWidget *parent);
void NotifyZeroing();
- void getFullName(QString *strToBeFilled);
- void getShortName(QString *strToBeFilled);
- void getDescription(QString *strToBeFilled);
- void getIcon(QIcon *icon);
-
private:
Ui::UICFDClientControls ui;
void loadSettings();
@@ -93,10 +78,6 @@ private:
HANDLE hMapFile, hMutex;
struct face_detect_shm* shm;
- QString trackerFullName; // Trackers' name and description
- QString trackerShortName;
- QString trackerDescription;
-
private slots:
void doOK();
void doCancel();
@@ -105,4 +86,26 @@ private slots:
void doSetCameraId(int val);
void doSetVideoWidget(bool val);
signals:
-}; \ No newline at end of file
+};
+
+//*******************************************************************************************************
+// FaceTrackNoIR Tracker DLL. Functions used to get general info on the Tracker
+//*******************************************************************************************************
+class FTNoIR_TrackerDll : public ITrackerDll
+{
+public:
+ FTNoIR_TrackerDll();
+ ~FTNoIR_TrackerDll();
+
+ void Initialize();
+
+ 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;
+};