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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/gaunt01/src/testApp.h b/gaunt01/src/testApp.h
index 2870008..e829630 100644
--- a/gaunt01/src/testApp.h
+++ b/gaunt01/src/testApp.h
@@ -6,6 +6,7 @@
#include "ofxRay.h"
#include "ofxXmlSettings.h"
+#include "ofxBlobsManager.h"
#include "trapdoor.h"
@@ -35,9 +36,11 @@ class testApp : public ofBaseApp{
int mode;
+ //utility functions
ofVec2f screen2plane(ofVec2f screenpos);
ofVec3f plane2world(ofVec2f planepos);
void updatePlane();
+ bool rectsCross(ofRectangle rect1,ofRectangle rect2);
ofxXmlSettings XML;
void loadSettings(string filename);
@@ -55,6 +58,8 @@ class testApp : public ofBaseApp{
ofxCvGrayscaleImage grayDiff;
ofxCvContourFinder contourFinder;
+
+ ofxBlobsManager blobsManager;
int threshold;
bool bLearnBakground;
@@ -72,6 +77,12 @@ class testApp : public ofBaseApp{
vector<ofVec3f> players;
trapdoor trapDoor;
ofMesh ground;
+
+ ofVec3f* testpts;
+
+ ofTessellator tesselator;
+ ofMesh player;
+ ofPolyline playeroutline;
};