Mercurial > hg > movesynth
diff of/testApp.h @ 38:718f93c14ba9
changed ports on tim's grid mapper to work with joe - now using 12346 to send to joe and receive on 12345, added stoppped person in the of patch
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Fri, 25 Feb 2011 17:34:52 +0000 |
parents | f7caff1c2fa6 |
children | b1c6e3d3a18b |
line wrap: on
line diff
--- a/of/testApp.h Fri Feb 25 17:33:00 2011 +0000 +++ b/of/testApp.h Fri Feb 25 17:34:52 2011 +0000 @@ -7,9 +7,10 @@ #include "ofMain.h" #include "ofxOpenNI.h" #include "ofxOsc.h" - +#define NUMBER_OF_USERS 6 #define HOST "localhost" -#define PORT 12346 +#define PORT 12344 +#define STOPPORT 12343 class testApp : public ofBaseApp{ @@ -33,17 +34,21 @@ ofxUserGenerator user; ofxImageGenerator image; //ofImage Davy; + void sendStopMessageForUser(int userID); ofImage anubis; bool drawIt; + + float maxTorsoValues[3]; + void checkTorsoMaxima(int id); - + double lastRecordedTime[6];//x,y,and z of the head float torso[6][3];//x,y,and z of the head bool userPresent[6]; ofTrueTypeFont franklinBook; string outputString; - ofxOscSender sender; + ofxOscSender sender, stopSender; }; #endif