qvolray

view src/volray.h @ 23:53aca4775514

clip checkbox
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 13 Apr 2012 15:43:45 +0300
parents 4c62be57fc1a
children aeef3c2ae472
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();
22 void volray_mouse(int bn, int state, int x, int y);
23 void volray_motion(int x, int y);
25 #endif // VOLRAY_H_