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.h7
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));
}