X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FTestWxGimmickReaderDialog%2Fmain.cxx;h=19afb0578a472c951c51a56509087fc92fb6a3ae;hb=76333a5e03570f128968eac6077cd4c2972ea6be;hp=7c9dce14b0bf3941f26f24dd2f0d5a8dcc62f7f4;hpb=30884aa5b38b1dd705ee427b9fb72eb911f08bc3;p=creaImageIO.git diff --git a/appli/TestWxGimmickReaderDialog/main.cxx b/appli/TestWxGimmickReaderDialog/main.cxx index 7c9dce1..19afb05 100644 --- a/appli/TestWxGimmickReaderDialog/main.cxx +++ b/appli/TestWxGimmickReaderDialog/main.cxx @@ -24,10 +24,10 @@ bool myApp::OnInit( ) #endif wxInitAllImageHandlers(); - /* - creaImageIO::SetGimmickMessageLevel(9); - creaImageIO::SetGimmickDebugMessageLevel(9); - */ + + creaImageIO::SetGimmickMessageLevel(5); + creaImageIO::SetGimmickDebugMessageLevel(0); + int min_dim = GIMMICK_2D_IMAGE_SELECTION; int max_dim = GIMMICK_3D_IMAGE_SELECTION; @@ -38,7 +38,7 @@ bool myApp::OnInit( ) -1, _T("Select image(s) - Gimmick! (c) CREATIS-LRMN 2008"), wxDefaultPosition, - wxSize(600,750), + wxSize(635,750), min_dim, max_dim, output_dim, @@ -61,9 +61,9 @@ bool myApp::OnInit( ) //Puts images std::vector images; - w.GetSelectedImages(images,output_dim); - - crea::VtkBasicSlicer(images.front()); + w.GetSelectedImages(images,output_dim); + + crea::VtkBasicSlicer(images.front()); images.front()->Delete(); w.OnExit();