summaryrefslogtreecommitdiff
path: root/src/testApp.h
diff options
context:
space:
mode:
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;
+
+};