diff options
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 29 |
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 |