Gl Graph
Gl Graph Source of glrenderer.h
#ifndef GL_RENDERER_H #define GL_RENDERER_H #include <drawableset.h> #include <string> class GlRenderer { protected: unsigned int width; unsigned int height; bool debug; public: GlRenderer(unsigned int width, unsigned int height); GlRenderer(unsigned int width, unsigned int height, bool debug); void printGlError(const char *msg); virtual void init(DrawableSet* set) =0; virtual void run() {}; void writePng(); virtual std::string getPngFileName()=0; }; #endif