diff options
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;
+
+
};
|
