summaryrefslogtreecommitdiffhomepage
path: root/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2012-03-17 16:15:51 +0000
committerWim Vriend <facetracknoir@gmail.com>2012-03-17 16:15:51 +0000
commit9184ea73941814b95c2768d8bcca8bdb77655891 (patch)
tree9cf5977e95abb7e42a719730560c145c1b33c9ba /FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h
parent9ae8a2212d0c85cfa904ea3bf03c0631f6c1369a (diff)
Changed Tracker code, so the DLL's are true plug-ins.
FaceTrackNoIR will scan the bin folder for FTNoIR_Tracker*.dll and put the names in the combobox. All Trackers have 3 new member-functions (like the filters). git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@104 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h')
-rw-r--r--FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h b/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h
index 6307c6a1..90518394 100644
--- a/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h
+++ b/FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h
@@ -40,7 +40,8 @@
#include "Windows.h"
//#include "math.h"
-typedef void (WINAPI *importSetPosition)(float x, float y, float z, float xRot, float yRot, float zRot);
+//typedef void (WINAPI *importSetPosition)(float, float, float, float, float, float);
+typedef int (WINAPI *importSetData)(TRACKIRDATA*);
typedef void (WINAPI *importTIRViewsStart)(void);
typedef void (WINAPI *importTIRViewsStop)(void);
@@ -62,7 +63,8 @@ private:
bool FTIRCreateMapping(HANDLE handle);
void FTIRDestroyMapping();
- importSetPosition setposition; // Function inside NPClient.dll
+// importSetPosition setposition; // Function inside NPClient.dll (old style)
+ importSetData setdata; // Function inside NPClient.dll
importTIRViewsStart viewsStart; // Functions inside TIRViews.dll
importTIRViewsStop viewsStop;