diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-21 12:31:18 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-21 12:31:18 (GMT) |
commit | c724a393a9e617f5216fb97bf05a57bb6fd4df8e (patch) | |
tree | fb72603ca2af16aa6614ce48e80cb56baf74cf38 /src/OffscreenView.h | |
parent | 88c071c5ed526be1e19fe8bdda79605ef642844d (diff) |
distinguish between gimbal-camera and eye-center-camera
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 7 |
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 ¢er); 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(); // |