summaryrefslogtreecommitdiff
path: root/src/OffscreenView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-21 12:31:18 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-21 12:31:18 (GMT)
commitc724a393a9e617f5216fb97bf05a57bb6fd4df8e (patch)
treefb72603ca2af16aa6614ce48e80cb56baf74cf38 /src/OffscreenView.h
parent88c071c5ed526be1e19fe8bdda79605ef642844d (diff)
distinguish between gimbal-camera and eye-center-camera
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r--src/OffscreenView.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index 97d8198..2f19a0c 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -21,9 +21,14 @@ public:
void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &center);
void initializeGL();
void resizeGL(int w, int h);
+
+ void setupGimbalPerspective();
+ void setupGimbalOrtho(double distance, bool offset=false);
+
void setupPerspective();
void setupOrtho(bool offset=false);
- void paintGL();
+
+ void paintGL(); //
bool save(const char *filename); //
bool save(std::ostream &output); // not implemented in qgl?
std::string getRendererInfo(); //
contact: Jan Huwald // Impressum