volmetrics
view 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 |
line source
1 #ifndef VIEW3D_H_
2 #define VIEW3D_H_
4 #include "glview.h"
5 #include "volume.h"
7 class View3D {
8 private:
9 Volume *vol;
10 float thres_low, thres_high;
11 GLView *glview;
13 public:
14 View3D();
15 ~View3D();
17 bool init(GLView *glview);
18 void destroy();
20 void display();
21 void reshape(int x, int y);
23 void set_volume(Volume *vol);
24 void set_thresholds(float low, float high);
25 };
27 #endif // VIEW3D_H_