qvolray

view src/ui_maingl.h @ 37:450d4c50470f

- 16bit floating point textures halve gpu texture memory usage - slower transfer function change
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 01 Jan 2014 00:23:57 +0200
parents f4cc61b5a3eb
children
line source
1 #ifndef UI_MAINGL_H_
2 #define UI_MAINGL_H_
4 #include <QGLWidget>
6 class MainGLView : public QGLWidget {
7 Q_OBJECT
9 protected:
10 void initializeGL();
11 void resizeGL(int xsz, int ysz);
12 void paintGL();
14 void mousePressEvent(QMouseEvent *ev);
15 void mouseReleaseEvent(QMouseEvent *ev);
16 void mouseMoveEvent(QMouseEvent *ev);
18 public:
19 MainGLView();
21 QSize minimumSizeHint() const;
22 QSize sizeHint() const;
23 };
25 #endif // UI_MAINGL_H_