#pragma once #include "ofMain.h" #include "ofxOpenCv.h" #include "ofxKinect.h" #include "imageStore.h" #define MODE_COLOURTILES 0 #define MODE_DEPTH 1 #define MODE_COMPONENTS 2 #define MODE_DRAWINSTAGRAM 3 #define MODE_FROZEN 4 #define NUM_MODES 3 //do we need the extend thing? class ofApp : public ofBaseApp { public: void setup(); void update(); void draw(); void exit(); void keyPressed(int key); 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); imageStore store; int mode,farThreshold,angle; ofxCvColorImage colourImage; ofxCvGrayscaleImage depthImage,depthImage2; ofxKinect kinect; //ofxCvFloatImage floatImage; float* floatImage; float* tiledata; float* frametiledata; ofImage screenleft,screenright; float frozentime; bool fullscreen; };