rebecca@13: #ifndef _TEST_APP rebecca@13: #define _TEST_APP rebecca@13: rebecca@13: // uncomment this for OF 007 compatibility rebecca@13: //#define OFX_OPENNI_BETA rebecca@13: rebecca@13: #include "ofMain.h" rebecca@13: #include "ofxOpenNI.h" rebecca@13: rebecca@13: class testApp : public ofBaseApp{ rebecca@13: rebecca@13: public: rebecca@13: void setup(); rebecca@13: void update(); rebecca@13: void draw(); rebecca@13: rebecca@13: void keyPressed (int key); rebecca@13: void keyReleased(int key); rebecca@13: void mouseMoved(int x, int y ); rebecca@13: void mouseDragged(int x, int y, int button); rebecca@13: void mousePressed(int x, int y, int button); rebecca@13: void mouseReleased(int x, int y, int button); rebecca@13: void windowResized(int w, int h); rebecca@13: ofxOpenNIContext context; rebecca@13: ofxDepthGenerator depth; rebecca@13: ofxUserGenerator user; rebecca@13: ofxImageGenerator image; rebecca@13: //ofImage Davy; rebecca@13: bool drawIt; rebecca@13: }; rebecca@13: rebecca@13: #endif