summaryrefslogtreecommitdiff
path: root/gaunt01/src/testApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gaunt01/src/testApp.h')
-rw-r--r--gaunt01/src/testApp.h19
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;
};