diff options
Diffstat (limited to 'offsetProject/src/ofApp.h')
| -rw-r--r-- | offsetProject/src/ofApp.h | 9 |
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; }; |
