diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2012-09-14 11:03:31 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2012-09-14 11:03:31 +0000 |
commit | c3cb475db1012a7e652ee8e654970eba97f6e64e (patch) | |
tree | e7d4e237651c29f55a298050cb7415fb81d4c099 /FaceTrackNoIR/tracker.h | |
parent | 541fb8cb1744c9c3ef7524b2d9491ed08032b36e (diff) |
registerTracker and unRegisterTracker methods added to TrackerControls (4 Patrick).
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@132 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/tracker.h')
-rw-r--r-- | FaceTrackNoIR/tracker.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/FaceTrackNoIR/tracker.h b/FaceTrackNoIR/tracker.h index 721d150e..ce34f6d2 100644 --- a/FaceTrackNoIR/tracker.h +++ b/FaceTrackNoIR/tracker.h @@ -174,9 +174,6 @@ private: HANDLE m_StopThread;
HANDLE m_WaitThread;
-// FTNoIR_Client selectedClient;
-// FTNoIR_Face_Tracker selectedTracker;
-
static T6DOF current_camera; // Used for filtering
static T6DOF target_camera;
static T6DOF new_camera;
@@ -257,7 +254,9 @@ public: static void setUseFilter(bool set) { useFilter = set; }
static void getHeadPose(THeadPoseData *data); // Return the current headpose data
static void getOutputHeadPose(THeadPoseData *data); // Return the current (processed) headpose data
- static IFilterPtr getFilterPtr() { return pFilter; }
+ static IFilterPtr getFilterPtr() { return pFilter; } // Return the pointer for the active Filter
+ ITracker *getTrackerPtr() { return pTracker; } // Return the pointer for the active Tracker
+
void doRefreshVideo() { // Call the face-tracker-function RefreshVideo
if (pTracker) {
pTracker->refreshVideo();
|