Mercurial > hg > movesynth
annotate 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 |
rev | line source |
---|---|
rebecca@13 | 1 #ifndef _TEST_APP |
rebecca@13 | 2 #define _TEST_APP |
rebecca@13 | 3 |
rebecca@13 | 4 // uncomment this for OF 007 compatibility |
rebecca@13 | 5 //#define OFX_OPENNI_BETA |
rebecca@13 | 6 |
rebecca@13 | 7 #include "ofMain.h" |
rebecca@13 | 8 #include "ofxOpenNI.h" |
rebecca@13 | 9 |
rebecca@13 | 10 class testApp : public ofBaseApp{ |
rebecca@13 | 11 |
rebecca@13 | 12 public: |
rebecca@13 | 13 void setup(); |
rebecca@13 | 14 void update(); |
rebecca@13 | 15 void draw(); |
rebecca@13 | 16 |
rebecca@13 | 17 void keyPressed (int key); |
rebecca@13 | 18 void keyReleased(int key); |
rebecca@13 | 19 void mouseMoved(int x, int y ); |
rebecca@13 | 20 void mouseDragged(int x, int y, int button); |
rebecca@13 | 21 void mousePressed(int x, int y, int button); |
rebecca@13 | 22 void mouseReleased(int x, int y, int button); |
rebecca@13 | 23 void windowResized(int w, int h); |
rebecca@13 | 24 ofxOpenNIContext context; |
rebecca@13 | 25 ofxDepthGenerator depth; |
rebecca@13 | 26 ofxUserGenerator user; |
rebecca@13 | 27 ofxImageGenerator image; |
rebecca@13 | 28 //ofImage Davy; |
rebecca@13 | 29 bool drawIt; |
rebecca@13 | 30 }; |
rebecca@13 | 31 |
rebecca@13 | 32 #endif |