qvolray
view src/ui_xferview.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 | 40df2cdc6323 |
children |
line source
1 #ifndef UI_XFERVIEW_H_
2 #define UI_XFERVIEW_H_
4 #include <QGLWidget>
6 class XFerGLView : public QGLWidget {
7 private:
8 Q_OBJECT
10 void initializeGL();
11 void resizeGL(int xsz, int ysz);
12 void paintGL();
14 void mousePressEvent(QMouseEvent *ev);
15 void mouseMoveEvent(QMouseEvent *ev);
17 public:
18 XFerGLView(QGLWidget *share_widget = 0);
20 QSize minimumSizeHint() const;
21 };
23 #endif // UI_XFERVIEW_H_