summaryrefslogtreecommitdiff
path: root/src/viewport.h
diff options
context:
space:
mode:
authorTim Redfern <tim@gray.(none)>2012-11-23 16:24:03 +0000
committerTim Redfern <tim@gray.(none)>2012-11-23 16:24:03 +0000
commitef5d82a13d1154ccdf4de91d869178dab6b76b7f (patch)
tree70932f563529859ff00c3de7081e79a0a760908d /src/viewport.h
parent249d944d438704bf322904015b71203895e76fc9 (diff)
ready for gig
Diffstat (limited to 'src/viewport.h')
-rwxr-xr-xsrc/viewport.h19
1 files changed, 15 insertions, 4 deletions
diff --git a/src/viewport.h b/src/viewport.h
index 1ffda0a..f635e51 100755
--- a/src/viewport.h
+++ b/src/viewport.h
@@ -6,6 +6,12 @@
#include "ofMain.h"
#include "keyVar.h"
+#define POINTS 1
+#define LINES 2
+#define POLYS 3
+
+#include "ofxMayaCam.h"
+
class viewport
{
@@ -22,26 +28,31 @@ class viewport
void mousePressedEvent(int xs,int ys,float sc,float fs);
- void draw(int fade,int decimate);
+ void draw(int mode,int fade,float decimate, float feat, float xr, float yr, float zr, int range, bool dologo);
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;
+
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
- //has its own own camera
- ofCamera camera;
- ofNode target;
+
+
};