diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-03-31 16:44:02 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-03-31 16:44:02 +0100 |
| commit | 0e8f0361c1068eb4c2f634dfcf4e1762d87f40d2 (patch) | |
| tree | 96a4eb154c1ac2dbe5ad4e04d4e33b281832e441 /gaunt01/src/testApp.h | |
| parent | 623e1924aeea83ea70c8ae7f645b067f17a293ea (diff) | |
implementing trap door
Diffstat (limited to 'gaunt01/src/testApp.h')
| -rw-r--r-- | gaunt01/src/testApp.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h index de13eae..b08682c 100644 --- a/gaunt01/src/testApp.h +++ b/gaunt01/src/testApp.h @@ -5,6 +5,10 @@ #include "ofxOpenCv.h" #include "ofxRay.h" +#include "ofxXmlSettings.h" + +#include "trapdoor.h" + //#define _USE_LIVE_VIDEO // uncomment this to use a live camera // otherwise, we'll use a movie file @@ -24,20 +28,24 @@ class testApp : public ofBaseApp{ void windowResized(int w, int h); void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); + + ofxXmlSettings XML; + void loadSettings(string filename); + void saveSettings(string filename); - #ifdef _USE_LIVE_VIDEO + #ifdef _USE_LIVE_VIDEO ofVideoGrabber vidGrabber; #else ofVideoPlayer vidPlayer; #endif - ofxCvColorImage colorImg; + ofxCvColorImage colorImg; - ofxCvGrayscaleImage grayImage; + ofxCvGrayscaleImage grayImage; ofxCvGrayscaleImage grayBg; ofxCvGrayscaleImage grayDiff; - ofxCvContourFinder contourFinder; + ofxCvContourFinder contourFinder; int threshold; bool bLearnBakground; @@ -51,6 +59,9 @@ class testApp : public ofBaseApp{ ofProjector projector; ofVec3f pos; + + vector<ofVec3f> players; + trapdoor trapDoor; }; |
