25 lines
488 B
C++
25 lines
488 B
C++
#pragma once
|
|
|
|
#include "OffscreenContext.h"
|
|
#include <Eigen/Core>
|
|
#include <Eigen/Geometry>
|
|
#include <string>
|
|
#include "system-gl.h"
|
|
#include <iostream>
|
|
#include "GLView.h"
|
|
|
|
class OffscreenView : public GLView
|
|
{
|
|
public:
|
|
OffscreenView(int width, int 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
|
|
};
|