Mercurial > hg > movesynth
diff of/testApp.h.orig @ 50:f4c6999ecfe9 tip
added the files on my computer that aren't aiff s> these shoudl be everything for the big bang fair 2011 - heresy, and tim's file's also here
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sat, 08 Oct 2011 22:12:49 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/of/testApp.h.orig Sat Oct 08 22:12:49 2011 +0100 @@ -0,0 +1,49 @@ +#ifndef _TEST_APP +#define _TEST_APP + +// uncomment this for OF 007 compatibility +//#define OFX_OPENNI_BETA + +#include "ofMain.h" +#include "ofxOpenNI.h" +#include "ofxOsc.h" + +#define HOST "localhost" +#define PORT 12346 + +class testApp : public ofBaseApp{ + + public: + void setup(); + void update(); + void draw(); + + void getCoordinates(int userID); + void sendDataViaOSC(int userID); + + void keyPressed (int key); + void keyReleased(int key); + void mouseMoved(int x, int y ); + void mouseDragged(int x, int y, int button); + void mousePressed(int x, int y, int button); + void mouseReleased(int x, int y, int button); + void windowResized(int w, int h); + ofxOpenNIContext context; + ofxDepthGenerator depth; + ofxUserGenerator user; + ofxImageGenerator image; + //ofImage Davy; + + ofImage anubis; + bool drawIt; + + + float torso[6][3];//x,y,and z of the head + bool userPresent[6]; + + ofTrueTypeFont franklinBook; + string outputString; + ofxOscSender sender; + +}; +#endif