diff options
author | Marius Kintel <marius@kintel.net> | 2013-03-28 03:55:51 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2013-03-28 03:55:51 (GMT) |
commit | eefcd6d0b271642d470cd55bc47d1579d943938e (patch) | |
tree | 48f9e4db455879025adb9317b740bfa4b72c2d66 /tests/OffscreenView.h | |
parent | f70578f362c8c2c78036c9de846c20802ac7aa81 (diff) | |
parent | beff2b1f4811b7f9d2b58bfc6a469a363bc9bfd0 (diff) |
Merge branch 'master' into epec-kernel
Conflicts:
src/PolySetCGALEvaluator.cc
Diffstat (limited to 'tests/OffscreenView.h')
-rw-r--r-- | tests/OffscreenView.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/tests/OffscreenView.h b/tests/OffscreenView.h deleted file mode 100644 index 8b98b29..0000000 --- a/tests/OffscreenView.h +++ /dev/null @@ -1,45 +0,0 @@ -#ifndef OFFSCREENVIEW_H_ -#define OFFSCREENVIEW_H_ - -#include "OffscreenContext.h" -#include <Eigen/Core> -#include <Eigen/Geometry> -#include <string> -#ifndef _MSC_VER -#include <stdint.h> -#endif - -class OffscreenView -{ -public: - OffscreenView(size_t width, size_t height); - ~OffscreenView(); - void setRenderer(class Renderer* r); - - void setCamera(const Eigen::Vector3d &pos, const Eigen::Vector3d ¢er); - void initializeGL(); - void resizeGL(int w, int h); - void setupPerspective(); - void setupOrtho(bool offset=false); - void paintGL(); - bool save(const char *filename); - std::string getInfo(); - - GLint shaderinfo[11]; - OffscreenContext *ctx; - size_t width; - size_t height; -private: - Renderer *renderer; - double w_h_ratio; - Eigen::Vector3d object_rot; - Eigen::Vector3d camera_eye; - Eigen::Vector3d camera_center; - - bool orthomode; - bool showaxes; - bool showfaces; - bool showedges; -}; - -#endif |