From 15cf9541ea62d95382e5c59611771fb6839a0e40 Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 30 Nov 2012 13:31:22 +0000 Subject: demo v0.9 --- src/viewport.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/viewport.h') diff --git a/src/viewport.h b/src/viewport.h index f635e51..23f840e 100755 --- a/src/viewport.h +++ b/src/viewport.h @@ -22,39 +22,39 @@ class viewport virtual ~viewport(); void setKinect(ofxKinect *k); void setFade(int f); - + void setcam(map&settings); double getSetting(const string& setting); - + void mousePressedEvent(int xs,int ys,float sc,float fs); - - void draw(int mode,int fade,float decimate, float feat, float xr, float yr, float zr, int range, bool dologo); + + void draw(int mode,int fade,float decimate, float feat, float xr, float yr, float zr, int range, bool add, bool dologo, bool col); void drawgui(); ofFbo rb1,rb2; //can do 2d buffer effects with feedback, can pass out rb2 for preview - + void keyPressed(int key); void keyReleased(int key); - + ofxMayaCam camera; float xrot,yrot,zrot; - +int xshift, yshift; + float scale,fscale; protected: int x, y,w,h,ox,oy,r; - int xshift, yshift; - float scale,fscale; - + + ofImage logo; - - + + ofxKinect *kinect; //passes in kinect data //passes in a playing move that can be used to generate 3D points in teh same way private: map vars; //change to midimappedkeyvars - - - + + + }; -- cgit v1.2.3