summaryrefslogtreecommitdiff
path: root/offsetProject/src/ofApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2014-03-03 13:51:51 +0000
committerTim Redfern <tim@eclectronics.org>2014-03-03 13:51:51 +0000
commit8dd6225e9e0bc6e2ae204b434369259a845a7979 (patch)
tree8f7b44f3c415bc43b9569bab4f5572da61986973 /offsetProject/src/ofApp.h
parent8740fb5e6b9084ea548f11d1ab1944fa653a82d7 (diff)
looking at OAuth
Diffstat (limited to 'offsetProject/src/ofApp.h')
-rw-r--r--offsetProject/src/ofApp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/offsetProject/src/ofApp.h b/offsetProject/src/ofApp.h
index 6188611..9406a0f 100644
--- a/offsetProject/src/ofApp.h
+++ b/offsetProject/src/ofApp.h
@@ -7,6 +7,13 @@
#define MIN_TILE_SIZE 4 //has to be a divisor of 320 and 240 as the tiles are centred
#define MAX_TILE_SIZE 32 //has to be a power of 2 * MIN_TILE_SIZE
+#define MODE_COLOURTILES 0
+#define MODE_DEPTH 1
+#define MODE_COMPONENTS 2
+
+#define NUM_MODES 3
+
+
class offsetCvColorImage : public ofxCvColorImage {
public:
void extend( int w, int h ) {
@@ -58,4 +65,6 @@ public:
int angle;
int levels;
int extend_w,extend_h;
+
+ int mode;
};