diff options
| author | Tim Redfern <tim@gray.(none)> | 2012-11-23 16:24:03 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@gray.(none)> | 2012-11-23 16:24:03 +0000 |
| commit | ef5d82a13d1154ccdf4de91d869178dab6b76b7f (patch) | |
| tree | 70932f563529859ff00c3de7081e79a0a760908d /src/viewport.h | |
| parent | 249d944d438704bf322904015b71203895e76fc9 (diff) | |
ready for gig
Diffstat (limited to 'src/viewport.h')
| -rwxr-xr-x | src/viewport.h | 19 |
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;
+
+
};
|
