#ifndef BOUNDARY_H #define BOUNDARY_H #include "ofMain.h" class boundary { public: boundary(); boundary(string file,float vol=1.0f); virtual ~boundary(); bool contains(ofPoint p); void draw(); void add(ofPoint p); void undo(); void getCentroid(); vector points; int findPoint(ofPoint pos); bool checkClick(ofPoint pos); bool checkFile(ofPoint pos,string file); void openFile(string file); void setVolume(float vol); ofPoint centroid; string filename; ofSoundPlayer sound; }; #endif // BOUNDARY_H