volmetrics

view src/view3d.h @ 36:1df14c5ffa71

conversion to Qt
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 06 Feb 2015 22:39:51 +0200
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_