Mercurial > hg > movesynth
comparison of/testApp.h @ 13:36e3faa5e9d4
Initial push of Davy's code for tracking people.
author | Becky Stewart <rebecca.stewart@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Feb 2011 16:48:01 +0000 |
parents | |
children | 803b8f3b70b4 |
comparison
equal
deleted
inserted
replaced
12:abe9b8bfebf0 | 13:36e3faa5e9d4 |
---|---|
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 | |
10 class testApp : public ofBaseApp{ | |
11 | |
12 public: | |
13 void setup(); | |
14 void update(); | |
15 void draw(); | |
16 | |
17 void keyPressed (int key); | |
18 void keyReleased(int key); | |
19 void mouseMoved(int x, int y ); | |
20 void mouseDragged(int x, int y, int button); | |
21 void mousePressed(int x, int y, int button); | |
22 void mouseReleased(int x, int y, int button); | |
23 void windowResized(int w, int h); | |
24 ofxOpenNIContext context; | |
25 ofxDepthGenerator depth; | |
26 ofxUserGenerator user; | |
27 ofxImageGenerator image; | |
28 //ofImage Davy; | |
29 bool drawIt; | |
30 }; | |
31 | |
32 #endif |