qvolray

view src/volray.h @ 29:93d889a3726a

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 14 Apr 2012 20:52:53 +0300
parents aeef3c2ae472
children
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 class VolRayOpt {
12 ZCURSOR,
13 ZCLIP
14 };
16 void volray_setvalue(VolRayOpt which, float val);
17 float volray_getvalue(VolRayOpt which);
19 void volray_resize(int xsz, int ysz);
20 void volray_draw();
21 void volray_draw_slice();
22 void volray_draw_xfer();
24 void volray_mouse(int bn, int state, int x, int y);
25 void volray_motion(int x, int y);
27 int parse_args(int argc, char **argv);
29 #endif // VOLRAY_H_