diff options
author | Wim Vriend <facetracknoir@gmail.com> | 2011-03-10 20:40:13 +0000 |
---|---|---|
committer | Wim Vriend <facetracknoir@gmail.com> | 2011-03-10 20:40:13 +0000 |
commit | 09b4c95b8036b9466ca89acbe0b1f3d810499863 (patch) | |
tree | e6b99fe5420181331e70c14277a6af93f084f1c5 /FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp | |
parent | 7dc20f380c80b1b0597e619e66d23921f0309aa0 (diff) |
faceAPI inside DLL works; no video-display yet...
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@53 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp')
-rw-r--r-- | FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp index 1a64261e..afeae10d 100644 --- a/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp +++ b/FTNoIR_Tracker_UDP/ftnoir_tracker_udp.cpp @@ -127,7 +127,15 @@ void FTNoIR_Tracker_UDP::StartTracker() return;
}
-void FTNoIR_Tracker_UDP::GiveHeadPoseData(THeadPoseData *data)
+void FTNoIR_Tracker_UDP::StopTracker()
+{
+ //
+ // OK, the thread is not stopped, doing this. That might be dangerous anyway...
+ //
+ return;
+}
+
+bool FTNoIR_Tracker_UDP::GiveHeadPoseData(THeadPoseData *data)
{
data->x = newHeadPose.x;
data->y = newHeadPose.y;
@@ -135,7 +143,7 @@ void FTNoIR_Tracker_UDP::GiveHeadPoseData(THeadPoseData *data) data->yaw = newHeadPose.yaw;
data->pitch = newHeadPose.pitch;
data->roll = newHeadPose.roll;
- return;
+ return true;
}
bool FTNoIR_Tracker_UDP::setParameterValue(const int index, const float newvalue)
|