Mercurial > hg > movesynth
view of/testApp.h @ 17:803b8f3b70b4
have added printing of the head data - you will NEED TO PUT the franklin font into ->bin->data for this to work - this is also include here in of
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Feb 2011 17:03:39 +0000 |
parents | 36e3faa5e9d4 |
children | 7b6dfc67d51e e71aad40a068 |
line wrap: on
line source
#ifndef _TEST_APP #define _TEST_APP // uncomment this for OF 007 compatibility //#define OFX_OPENNI_BETA #include "ofMain.h" #include "ofxOpenNI.h" class testApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void getCoordinates(ofxTrackedUser* tracked, 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; bool drawIt; int head[6][3];//x,y,and z of the head ofTrueTypeFont franklinBook; string outputString; }; #endif