creaImageIO::SetGimmickDebugMessageLevel(9);
*/
- int image_type = GIMMICK_3D_IMAGE_SELECTION;
+ int min_dim = GIMMICK_2D_IMAGE_SELECTION;
+ int max_dim = GIMMICK_3D_IMAGE_SELECTION;
int threads = 1;
creaImageIO::WxGimmickReaderDialog w(0,
_T("Select image(s) - Gimmick! (c) CREATIS-LRMN 2008"),
wxDefaultPosition,
wxSize(1200,800),
- image_type,
+ min_dim,
+ max_dim,
threads);
w.ShowModal();
std::cout << "$$$$ "<<std::endl;
std::vector<vtkImageData*> images;
- w.GetSelectedImages(images);
+ w.GetSelectedImages(images,3);
crea::VtkBasicSlicer(images.front());
images.front()->Delete();