diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-04-29 09:35:19 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-04-29 09:35:19 +0100 |
| commit | ce71d04f4d221cd9bc6688dd3bf5a17fa25c0b81 (patch) | |
| tree | 42e226827070d8c6520e343e4123ab9abc882090 /TRRSS_01_rec/src/testApp.h | |
| parent | 7c1399cfdd82eb9a387e8fb4aad15b1e17da7f5d (diff) | |
updating API
Diffstat (limited to 'TRRSS_01_rec/src/testApp.h')
| -rwxr-xr-x | TRRSS_01_rec/src/testApp.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/TRRSS_01_rec/src/testApp.h b/TRRSS_01_rec/src/testApp.h index 00316b0..3f11572 100755 --- a/TRRSS_01_rec/src/testApp.h +++ b/TRRSS_01_rec/src/testApp.h @@ -15,6 +15,8 @@ #include "ofxMayaCam.h" +#define NEWAPI true + class guiWindow; class testApp : public ofxFensterListener{ @@ -23,6 +25,7 @@ class testApp : public ofxFensterListener{ void setup(); void update(); void draw(); + void exit(); void keyPressed (int key); void keyReleased(int key); @@ -34,10 +37,15 @@ class testApp : public ofxFensterListener{ void dragEvent(ofDragInfo dragInfo); void gotMessage(ofMessage msg); +#ifdef NEWAPI + ofxOpenNI openNIDevice; +#else ofxOpenNIContext recordContext; ofxDepthGenerator recordDepth; - ofxImageGenerator recordImage; + ofxImageGenerator recordImage; ofxUserGenerator recordUser; +#endif + guiWindow *guiWin; |
