diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-02-24 00:50:20 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-02-24 00:50:20 (GMT) |
commit | 0f977609b40d5a6b6b5237060198e6dd97df06c5 (patch) | |
tree | 43c93a204f677ceef9c5b02b3ee28643c2acee12 /src/OffscreenView.h | |
parent | 5389107aa684ab99701e238a7297f07b35f7d521 (diff) |
put qglview.h into mainwin for deps. unify camera functions into glview.
remove duplicate code.
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h index 3414d60..e41acf9 100644 --- a/src/OffscreenView.h +++ b/src/OffscreenView.h @@ -21,6 +21,7 @@ public: void initializeGL(); // void resizeGL(int w, int h); // +/* void setGimbalCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &rot, double distance); // void setupGimbalPerspective(); // void setupGimbalOrtho(double distance, bool offset=false); // @@ -28,6 +29,7 @@ public: void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d ¢er); // void setupPerspective(); // void setupOrtho(bool offset=false); // +*/ void paintGL(); // bool save(const char *filename); // @@ -39,7 +41,7 @@ public: OffscreenContext *ctx; // not size_t width; // not size_t height; // not -private: +/*private: double w_h_ratio;// bool orthomode;// bool showaxes;// @@ -48,7 +50,7 @@ private: Eigen::Vector3d object_rot;// Eigen::Vector3d camera_eye;// - Eigen::Vector3d camera_center;// + Eigen::Vector3d camera_center;//*/ }; #endif |