#pragma once #include "ofMain.h" #include "particleSystem.hpp" #include "greatWhole.hpp" #include "avatar.hpp" //#include "ofxOsc.h" int WINDOWSIZE_WIDTH = 1000; int WINDOWSIZE_HEIGHT = 1000; int PARTICLE_COUNT; //+1 for every new Particle, -1 for every Particle that gets older than the defined maxLife // *** SETUP OSC INFORMATION *** SETUP OSC INFORMATION *** #define PORT 12345 #define HOST "xxx.xxx.xxx.xxx" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); 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 mouseEntered(int x, int y); void mouseExited(int x, int y); void windowResized(int w, int h); void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); private: // *** OSC *** OSC *** OSC *** string oscMsg; // ofxOscReceiver receiver; float timeSent, timeReceived; //Information about what is going on in the scene int nBlobs; //count of the tracked visitors vector particleSystems; GreatWhole dasGrosseGanze; };