1 #include <creaImageIOGimmickReaderDialog.h>
2 #include <creaImageIOWxGimmickReaderDialog.h>
3 #include <BlockScopeWxApp.h>
8 bool GimmickReaderDialog(std::vector<vtkImageData*>& images,
9 const std::string& title,
21 creaImageIO::WxGimmickReaderDialog w(0,
31 if (w.GetReturnCode() == wxID_OK)
33 w.GetSelectedImages(images,image_out_dim);
36 else if (w.GetReturnCode() == wxID_CANCEL)
42 std::cout << "!! ERROR : GimmickReaderDialog : dialog ended without return code !"