From 0e8f0361c1068eb4c2f634dfcf4e1762d87f40d2 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sat, 31 Mar 2012 16:44:02 +0100 Subject: implementing trap door --- gaunt01/src/testApp.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'gaunt01/src/testApp.h') 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 players; + trapdoor trapDoor; }; -- cgit v1.2.3