summaryrefslogtreecommitdiff
path: root/src/OffscreenView.h
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-02-21 01:56:30 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-02-21 01:56:30 (GMT)
commitfc2d9341fac6948716b328b75f3366313bd2545a (patch)
tree4c40b79dc3250b655f6284ed8db1b787657c69ce /src/OffscreenView.h
parentb7d1c94dc1462dae0b7a23ddffe1f91c57308aa8 (diff)
begin process of unifying GLView and OffscreenView. renames, objrot, objtran
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r--src/OffscreenView.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h
index f401bef..c27277e 100644
--- a/src/OffscreenView.h
+++ b/src/OffscreenView.h
@@ -26,24 +26,25 @@ public:
void paintGL();
bool save(const char *filename);
bool save(std::ostream &output);
- std::string getInfo();
+ const std::string &getRendererInfo();
- GLint shaderinfo[11];
- OffscreenContext *ctx;
- size_t width;
- size_t height;
+ GLint shaderinfo[11]; //
+
+ OffscreenContext *ctx; // not
+ size_t width; // not
+ size_t height; // not
private:
- Renderer *renderer;
- double w_h_ratio;
+ Renderer *renderer;//
+ double w_h_ratio;//
- bool orthomode;
- bool showaxes;
- bool showfaces;
- bool showedges;
+ bool orthomode;//
+ bool showaxes;//
+ bool showfaces;//
+ bool showedges;//
- Eigen::Vector3d object_rot;
- Eigen::Vector3d camera_eye;
- Eigen::Vector3d camera_center;
+ Eigen::Vector3d object_rot;//
+ Eigen::Vector3d camera_eye;//
+ Eigen::Vector3d camera_center;//
};
#endif
contact: Jan Huwald // Impressum