summaryrefslogtreecommitdiff
path: root/src/QGLView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-24 01:19:33 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-24 01:19:33 (GMT)
commitbebc7a37344b3b831e5ff9540e85a6c389901b77 (patch)
treeb00b0598aff48ddb1f6f98ed3a2de99165e65a2c /src/QGLView.h
parent0f977609b40d5a6b6b5237060198e6dd97df06c5 (diff)
finish unify camera. unify getRenderInfo. fix width on libraryinfo box.
Diffstat (limited to 'src/QGLView.h')
-rw-r--r--src/QGLView.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/src/QGLView.h b/src/QGLView.h
index ae382c2..e53a411 100644
--- a/src/QGLView.h
+++ b/src/QGLView.h
@@ -36,17 +36,11 @@ public:
void setShowCrosshairs(bool enabled) { this->showcrosshairs = enabled; }
bool orthoMode() const { return this->orthomode; }
void setOrthoMode(bool enabled) { this->orthomode = enabled; }
- std::string getRendererInfo() const { return this->rendererInfo; }
+ std::string getRendererInfo() const;
bool save(const char *filename);
public:
QLabel *statusLabel;
-
-/* Eigen::Vector3d object_rot;
- Eigen::Vector3d object_trans;
- Eigen::Vector3d camera_eye;
- Eigen::Vector3d camera_center;*/
-
GLint shaderinfo[11];
#ifdef ENABLE_OPENCSG
@@ -59,15 +53,7 @@ private:
std::string rendererInfo;
-// bool showfaces;
-// bool showedges;
-// bool showaxes;
bool showcrosshairs;
-// bool orthomode;
-
-// double viewer_distance;
-
-// double w_h_ratio;
bool mouse_drag_active;
QPoint last_mouse;
@@ -81,13 +67,14 @@ private:
void initializeGL();
void resizeGL(int w, int h);
- void setGimbalCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &rot, double distance);
+/* void setGimbalCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &rot, double distance);
void setupGimbalPerspective();
void setupGimbalOrtho(double distance,bool offset=false);
void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &center);
void setupPerspective();
void setupOrtho(bool offset=false);
+*/
void paintGL();
void normalizeAngle(GLdouble& angle);
contact: Jan Huwald // Impressum