volmetrics

diff src/main.cc @ 29:77cbc31cd31f

foo
author Eleni Maria Stea <elene.mst@gmail.com>
date Sun, 27 Apr 2014 21:07:10 +0300
parents 5ee081af59b8
children e548d95e0667
line diff
     1.1 --- a/src/main.cc	Sun Apr 27 19:25:32 2014 +0300
     1.2 +++ b/src/main.cc	Sun Apr 27 21:07:10 2014 +0300
     1.3 @@ -191,6 +191,7 @@
     1.4  	GLUI_Spinner *thres2_spin = ui->add_spinner_to_panel(thres_panel, "T2", GLUI_SPINNER_FLOAT, &thres2, 0, thres_change);
     1.5  	thres2_spin->set_float_limits(0, 1);
     1.6  
     1.7 +#ifdef ISO
     1.8  	GLUI_Panel *res_panel = ui->add_panel("volume resolution");
     1.9  
    1.10  	ui->add_checkbox_to_panel(res_panel, "original resolution", &use_orig_vol_res, 0, toggle_use_orig);
    1.11 @@ -201,7 +202,7 @@
    1.12  		res_spin[i]->set_int_limits(8, 256); // TODO limits as arguments or config
    1.13  		res_spin[i]->disable();
    1.14  	}
    1.15 -
    1.16 +#endif
    1.17  	GLUI_Panel *preview_panel = ui->add_panel("volume preview");
    1.18  
    1.19  	GLUI_Spinner *preview_spin = ui->add_spinner_to_panel(preview_panel, "slice z", GLUI_SPINNER_FLOAT, &slice_z, 0);