blob: 8a3daaf56eb1c8353dccaf8be6d7b71c012441af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
|