summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/tracker.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2011-01-23 20:17:37 +0000
committerWim Vriend <facetracknoir@gmail.com>2011-01-23 20:17:37 +0000
commita1126d63fe3068cc5651c8c3060647a33e4bb710 (patch)
treeb63138fa2182e31de6ca698710a3288f5a557b71 /FaceTrackNoIR/tracker.h
parent445ebbfa3edc12bd79469a61c25257fe853c3768 (diff)
Start merging new filter
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@42 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r--FaceTrackNoIR/tracker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h
index ab14e06a..49310a23 100644
--- a/FaceTrackNoIR/tracker.h
+++ b/FaceTrackNoIR/tracker.h
@@ -46,6 +46,7 @@
#include "FTNoIR_cxx_protocolserver.h"
#include "FTNoIR_Tracker_base.h"
+#include "FTNoIR_Filter_base.h"
#include "AutoClosePtr.h"
// 1a. COM-Like usage with smart pointer.
@@ -53,6 +54,8 @@
// be released automatically in destructor of the smart pointer.
typedef AutoClosePtr<ITracker, void, &ITracker::Release> ITrackerPtr;
typedef ITracker *(WINAPI *importGetTracker)(void);
+typedef AutoClosePtr<IFilter, void, &IFilter::Release> IFilterPtr;
+typedef IFilter *(WINAPI *importGetFilter)(void);
// include the DirectX Library files
#pragma comment (lib, "dinput8.lib")
@@ -139,6 +142,7 @@ private:
QSharedPointer<EngineBase> _engine;
smEngineHandle _engine_handle;
ITrackerPtr pTracker; // Pointer to Tracker instance (in DLL)
+ 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);