comparison 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
comparison
equal deleted inserted replaced
49:0eeda0223db3 50:f4c6999ecfe9
1 #ifndef _TEST_APP
2 #define _TEST_APP
3
4 // uncomment this for OF 007 compatibility
5 //#define OFX_OPENNI_BETA
6
7 #include "ofMain.h"
8 #include "ofxOpenNI.h"
9 #include "ofxOsc.h"
10
11 #define HOST "localhost"
12 #define PORT 12346
13
14 class testApp : public ofBaseApp{
15
16 public:
17 void setup();
18 void update();
19 void draw();
20
21 void getCoordinates(int userID);
22 void sendDataViaOSC(int userID);
23
24 void keyPressed (int key);
25 void keyReleased(int key);
26 void mouseMoved(int x, int y );
27 void mouseDragged(int x, int y, int button);
28 void mousePressed(int x, int y, int button);
29 void mouseReleased(int x, int y, int button);
30 void windowResized(int w, int h);
31 ofxOpenNIContext context;
32 ofxDepthGenerator depth;
33 ofxUserGenerator user;
34 ofxImageGenerator image;
35 //ofImage Davy;
36
37 ofImage anubis;
38 bool drawIt;
39
40
41 float torso[6][3];//x,y,and z of the head
42 bool userPresent[6];
43
44 ofTrueTypeFont franklinBook;
45 string outputString;
46 ofxOscSender sender;
47
48 };
49 #endif