summaryrefslogtreecommitdiff
path: root/src/GLView.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/GLView.h
parent0f977609b40d5a6b6b5237060198e6dd97df06c5 (diff)
finish unify camera. unify getRenderInfo. fix width on libraryinfo box.
Diffstat (limited to 'src/GLView.h')
-rw-r--r--src/GLView.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/GLView.h b/src/GLView.h
index 32e3898..e98bfe0 100644
--- a/src/GLView.h
+++ b/src/GLView.h
@@ -18,7 +18,6 @@ class GLView
public:
GLView();
void setRenderer(Renderer* r);
- virtual bool save(const char *filename) = 0;
Renderer *renderer;
/*
void initializeGL(); //
@@ -33,6 +32,8 @@ public:
void setupPerspective();
void setupOrtho(bool offset=false);
+ virtual bool save(const char *filename) = 0;
+ virtual std::string getRendererInfo() const = 0;
double viewer_distance;//
double w_h_ratio;//
@@ -49,24 +50,10 @@ public:
void paintGL(); //
bool save(const char *filename); //
//bool save(std::ostream &output); // not implemented in qgl?
- std::string getRendererInfo(); //
GLint shaderinfo[11]; //
*/
-
-
-/* double w_h_ratio;//
-
- bool orthomode;//
- bool showaxes;//
- bool showfaces;//
- bool showedges;//
-
- Eigen::Vector3d object_rot;//
- Eigen::Vector3d camera_eye;//
- Eigen::Vector3d camera_center;//
-*/
};
#endif
contact: Jan Huwald // Impressum