X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2FTestWxGimmickReaderDialog%2Fmain.cxx;h=833b1020c27cde3a2260bdcca4ad3b7fe7b17c0b;hb=b124b45664473a3ad32c1c8cf680cc3355e4dbd2;hp=ee0ec18bdba4c73c95fa5b0edc86d7726e8823f6;hpb=c7482ec7d04a5e5987841932a6856ebd471cebdb;p=creaImageIO.git diff --git a/appli/TestWxGimmickReaderDialog/main.cxx b/appli/TestWxGimmickReaderDialog/main.cxx index ee0ec18..833b102 100644 --- a/appli/TestWxGimmickReaderDialog/main.cxx +++ b/appli/TestWxGimmickReaderDialog/main.cxx @@ -112,8 +112,8 @@ bool myApp::OnInit( ) std::cout << "$$$$ "< images; - w.GetSelectedImages(images,3); + /* std::vector images; + w.GetSelectedImages(images,3);*/ // First Exemple: @@ -140,11 +140,12 @@ bool myApp::OnInit( ) // but for all selected file. // For the moment, no output model file (XML) std::vector out; + std::vector outFileNames; std::vector attr; attr.push_back("D0028_0010"); attr.push_back("D0008_0023"); attr.push_back("D0008_1070"); - w.getSelected(out, attr,true,""); + w.getSelected(out, attr,outFileNames,true,""); std::cout<Delete(); @@ -175,9 +176,9 @@ bool myApp::OnInit( ) - crea::VtkBasicSlicer(out.front().img); - images.front()->Delete(); - w.OnExit(); + //crea::VtkBasicSlicer(out.front().img); + // images.front()->Delete(); + // w.OnExit(); } else if (w.GetReturnCode() == wxID_CANCEL)