1 #include <creaImageIOSystem.h>
3 #include <creaImageIOWxISimpleDlg.h>
4 #include <creaImageIOWxISimpleDlg.txx>
5 #include <itkImageBase.h>
7 // Just to test the selection of file(s), directory or from creaImageIO database.
8 class myApp : public wxApp
12 int OnExit() { return true; }
17 CREA_WXMAIN_WITH_CONSOLE
23 //See http://www.wxwindows.org/faqgtk.htm#locale
24 setlocale(LC_NUMERIC, "C");
26 wxInitAllImageHandlers();
28 typedef itk::Image<short, 4 > ImageType;
29 creaImageIO::WxISimpleDlg<ImageType> x(0);
32 std::vector <ImageType::Pointer> test = x.getImagesSelected();