volmetrics

annotate src/view3d.h @ 37:1d935677d3ab

Created new branch non-qt-version
author Eleni Maria Stea <elene.mst@gmail.com>
date Mon, 17 Apr 2017 13:26:24 +0000
parents
children
rev   line source
nuclear@36 1 #ifndef VIEW3D_H_
nuclear@36 2 #define VIEW3D_H_
nuclear@36 3
nuclear@36 4 #include "glview.h"
nuclear@36 5 #include "volume.h"
nuclear@36 6
nuclear@36 7 class View3D {
nuclear@36 8 private:
nuclear@36 9 Volume *vol;
nuclear@36 10 float thres_low, thres_high;
nuclear@36 11 GLView *glview;
nuclear@36 12
nuclear@36 13 public:
nuclear@36 14 View3D();
nuclear@36 15 ~View3D();
nuclear@36 16
nuclear@36 17 bool init(GLView *glview);
nuclear@36 18 void destroy();
nuclear@36 19
nuclear@36 20 void display();
nuclear@36 21 void reshape(int x, int y);
nuclear@36 22
nuclear@36 23 void set_volume(Volume *vol);
nuclear@36 24 void set_thresholds(float low, float high);
nuclear@36 25 };
nuclear@36 26
nuclear@36 27 #endif // VIEW3D_H_
nuclear@36 28