summaryrefslogtreecommitdiff
path: root/src/OffscreenView.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/OffscreenView.h
parent0f977609b40d5a6b6b5237060198e6dd97df06c5 (diff)
finish unify camera. unify getRenderInfo. fix width on libraryinfo box.
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r--src/OffscreenView.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index e41acf9..5842ba2 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -21,36 +21,16 @@ 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); //
-
- void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d &center); //
- void setupPerspective(); //
- void setupOrtho(bool offset=false); //
-*/
-
void paintGL(); //
bool save(const char *filename); //
bool save(std::ostream &output); // not implemented in qgl?
- std::string getRendererInfo(); //
+ std::string getRendererInfo() const;
GLint shaderinfo[11]; //
OffscreenContext *ctx; // not
size_t width; // not
size_t height; // not
-/*private:
- 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