summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
authorTim Redfern <tim@sendak.local>2011-12-19 13:37:11 +0000
committerTim Redfern <tim@sendak.local>2011-12-19 13:37:11 +0000
commitf96ac8a05c915832c0efe5e70264245fca15b33e (patch)
tree366fea81a62199fb5d0521c91fe6e0c9bd2243e0 /src/testApp.h
linux osx project initial
Diffstat (limited to 'src/testApp.h')
-rw-r--r--src/testApp.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/testApp.h b/src/testApp.h
new file mode 100644
index 0000000..cac9542
--- /dev/null
+++ b/src/testApp.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#define CALIBRATE 1
+#define DISPLAY 2
+
+#include "ofMain.h"
+#include "ofx3DModelLoader.h"
+#include "keyVar.h"
+
+class testApp : public ofBaseApp{
+
+ public:
+ void setup();
+ void update();
+ void draw();
+
+ void keyPressed (int key);
+ void keyReleased(int key);
+ void mouseMoved(int x, int y );
+ void mouseDragged(int x, int y, int button);
+ void mousePressed(int x, int y, int button);
+ void mouseReleased(int x, int y, int button);
+ void windowResized(int w, int h);
+ void dragEvent(ofDragInfo dragInfo);
+ void gotMessage(ofMessage msg);
+
+ void bindTexture(ofBaseHasTexture &t);
+ void unbindTexture(ofBaseHasTexture &t);
+ void drawBox();
+
+ ofVideoPlayer texture;
+
+ double fov,aspect,near,far;
+
+ ofCamera camera;
+ ofNode target;
+
+ keyVar* vars;
+
+};