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 /src/OffscreenView.h | |
parent | f70578f362c8c2c78036c9de846c20802ac7aa81 (diff) | |
parent | beff2b1f4811b7f9d2b58bfc6a469a363bc9bfd0 (diff) |
Merge branch 'master' into epec-kernel
Conflicts:
src/PolySetCGALEvaluator.cc
Diffstat (limited to 'src/OffscreenView.h')
-rw-r--r-- | src/OffscreenView.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/OffscreenView.h b/src/OffscreenView.h new file mode 100644 index 0000000..8a3daaf --- /dev/null +++ b/src/OffscreenView.h @@ -0,0 +1,31 @@ +#ifndef OFFSCREENVIEW_H_ +#define OFFSCREENVIEW_H_ + +#include "OffscreenContext.h" +#include <Eigen/Core> +#include <Eigen/Geometry> +#include <string> +#ifndef _MSC_VER +#include <stdint.h> +#endif +#include "system-gl.h" +#include <iostream> +#include "GLView.h" + +class OffscreenView : public GLView +{ +public: + OffscreenView(size_t width, size_t height); + ~OffscreenView(); + bool save(std::ostream &output); + OffscreenContext *ctx; + + // overrides + bool save(const char *filename); + std::string getRendererInfo() const; +#ifdef ENABLE_OPENCSG + void display_opencsg_warning(); +#endif +}; + +#endif |