// // ofxHelios.h // // // Created by Tim Redfern Nov 2017 // // it would be good if ofxHelios could inherit the current transform #ifndef ofxHelios_h #define ofxHelios_h #define OFXHELIOS_VERSION 0.1 #define OFXHELIOS_NODEVICE -1 #include "ofMain.h" #include "colourPolyline.h" #define BUFFER_POINTS 2048 #define SUBDIVIDE 10 #define BLANK_NUM 10 #include class ofxHelios : public ofThread { public: ofxHelios(int _pps=20000,int _device = 0) { int numdevices=dac.OpenDevices(); for (int i=0;i=numdevices){ ofLogNotice() << "ofxHelios v "< &lines,ofColor colour=ofColor(255,255,255),int intensity=255); int draw(vector &lines, int intensity=255); void threadedFunction(); //isReady() private: int device; HeliosDac dac; int pps; int laserintensity; }; #endif