diff options
| author | Tim Redfern <tim@herge.(none)> | 2013-04-29 19:58:11 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@herge.(none)> | 2013-04-29 19:58:11 +0100 |
| commit | 4d700209835a96ef9eb1a4be7a841fa6c357fced (patch) | |
| tree | 6dc6cbe967344caaafed1e512c8000b206be01c7 /TRRSS_01_rec/src/testApp.h | |
| parent | c64f1ff1cfc93f1bc13707d5b2a00659a035427b (diff) | |
new API nightmare
Diffstat (limited to 'TRRSS_01_rec/src/testApp.h')
| -rwxr-xr-x | TRRSS_01_rec/src/testApp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TRRSS_01_rec/src/testApp.h b/TRRSS_01_rec/src/testApp.h index 3c5bea6..629ee98 100755 --- a/TRRSS_01_rec/src/testApp.h +++ b/TRRSS_01_rec/src/testApp.h @@ -40,6 +40,7 @@ class testApp : public ofxFensterListener{ #ifdef NEWAPI ofxOpenNI openNIDevice; void userEvent(ofxOpenNIUserEvent & event); + #else ofxOpenNIContext recordContext; ofxDepthGenerator recordDepth; @@ -61,6 +62,8 @@ class guiWindow: public ofxFensterListener{ ofxParameter<float> distMin; ofxFloatSlider dMax; ofxParameter<float> distMax; + ofxIntSlider dStep; + ofxParameter<int> drawStep; ofxToggle dPoints; ofxParameter<bool> drawPoints; ofxFloatSlider pSize; @@ -75,10 +78,12 @@ class guiWindow: public ofxFensterListener{ gui.add(dMin.setup("min distance",distMin,0,5000,255)); distMax=2000; gui.add(dMax.setup("max distance",distMax,0,5000,255)); + drawStep=2; + gui.add(dStep.setup("draw step",drawStep,1,32,255)); drawPoints=false; gui.add(dPoints.setup("draw points",drawPoints)); pointSize=2.0; - gui.add(pSize.setup("point size",pointSize,1.0,20.0,255)); + gui.add(pSize.setup("point size",pointSize,0.0,20.0,255)); insideOut=false; gui.add(iOut.setup("inside out",drawPoints)); } |
