From ce71d04f4d221cd9bc6688dd3bf5a17fa25c0b81 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Mon, 29 Apr 2013 09:35:19 +0100 Subject: updating API --- TRRSS_01_rec/src/testApp.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'TRRSS_01_rec/src/testApp.h') 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; -- cgit v1.2.3