summaryrefslogtreecommitdiff
path: root/TRRSS_01_rec/src/testApp.h
diff options
context:
space:
mode:
Diffstat (limited to 'TRRSS_01_rec/src/testApp.h')
-rwxr-xr-xTRRSS_01_rec/src/testApp.h10
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;