From 9184ea73941814b95c2768d8bcca8bdb77655891 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sat, 17 Mar 2012 16:15:51 +0000 Subject: 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 --- FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'FTNoIR_Protocol_FTIR/FTNoIR_Protocol_FTIR.h') 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; -- cgit v1.2.3