8 #ifndef GL_RENDER_WIDGET_H 9 #define GL_RENDER_WIDGET_H 11 #include <QOpenGLWidget> 12 #include <QOpenGLFunctions> 14 #include <QOpenGLBuffer> 15 #include <QOpenGLVertexArrayObject> 17 #include <QOpenGLShader> 18 #include <QOpenGLTexture> 20 #include <QOpenGLDebugLogger> 43 void setShader(
const std::string& vert,
const std::string& frag);
63 void setRegion(
float sep, QColor c1, QColor c2);
75 QOpenGLVertexArrayObject
vao;
105 bool hasRegionSeperatorValueAndColors;
109 QOpenGLTexture* volume;
113 float regionSeperator;
Helper struct for passing renderable data in the application.