summaryrefslogtreecommitdiff
path: root/src/viewport.h
diff options
context:
space:
mode:
authorComment <tim@gray.(none)>2012-11-30 13:31:22 +0000
committerComment <tim@gray.(none)>2012-11-30 13:31:22 +0000
commit15cf9541ea62d95382e5c59611771fb6839a0e40 (patch)
tree77ae0eb8d3783caf16621019ee76813d1b293ffe /src/viewport.h
parentef5d82a13d1154ccdf4de91d869178dab6b76b7f (diff)
demo v0.9HEADmaster
Diffstat (limited to 'src/viewport.h')
-rwxr-xr-xsrc/viewport.h30
1 files changed, 15 insertions, 15 deletions
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<string,float>&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<string,keyVar> vars; //change to midimappedkeyvars
-
-
-
+
+
+
};