qvolray

diff src/ui.h @ 30:40df2cdc6323

transfer function window
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 22:10:30 +0300
parents aeef3c2ae472
children c1dd5b120504
line diff
     1.1 --- a/src/ui.h	Sat Apr 14 20:52:53 2012 +0300
     1.2 +++ b/src/ui.h	Sat Apr 14 22:10:30 2012 +0300
     1.3 @@ -4,10 +4,11 @@
     1.4  #include <QMainWindow>
     1.5  #include <QDockWidget>
     1.6  #include "volray.h"
     1.7 -#include "ui_maingl.h"
     1.8 -#include "ui_sliceview.h"
     1.9  
    1.10  class SideWindow;
    1.11 +class MainGLView;
    1.12 +class SliceGLView;
    1.13 +class XFerGLView;
    1.14  
    1.15  // This is the main application window (duh)
    1.16  class MainWindow : public QMainWindow {
    1.17 @@ -22,8 +23,6 @@
    1.18  
    1.19  public:
    1.20  	MainWindow();
    1.21 -
    1.22 -	void update();
    1.23  };
    1.24  
    1.25  /* This is the detachable window with the volume slice view
    1.26 @@ -34,6 +33,7 @@
    1.27  	Q_OBJECT
    1.28  
    1.29  	SliceGLView *slice_view;
    1.30 +	XFerGLView *xfer_view;
    1.31  
    1.32  private slots:
    1.33  	void zslider_change(int val);
    1.34 @@ -41,8 +41,6 @@
    1.35  
    1.36  public:
    1.37  	SideWindow();
    1.38 -
    1.39 -	void update();
    1.40  };
    1.41  
    1.42  // call to force a redisplay on all GL views