qvolray
view src/volray.h @ 28:aeef3c2ae472
the slice widget works fine
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 16:35:30 +0300 |
parents | 53aca4775514 |
children | 93d889a3726a |
line source
1 #ifndef VOLRAY_H_
2 #define VOLRAY_H_
4 #include "volume.h"
6 bool volray_init();
8 void volray_setvolume(Volume *vol);
9 Volume *volray_getvolume();
11 enum {
12 VOLRAY_ZCURSOR,
13 VOLRAY_ZCLIP
14 };
16 void volray_setvalue(int which, float val);
17 float volray_getvalue(int which);
19 void volray_resize(int xsz, int ysz);
20 void volray_draw();
21 void volray_draw_slice();
23 void volray_mouse(int bn, int state, int x, int y);
24 void volray_motion(int x, int y);
26 #endif // VOLRAY_H_