From: Frederic Cervenansky Date: Wed, 12 May 2010 14:15:11 +0000 (+0000) Subject: Need to recreate creaImageIO database X-Git-Tag: CREATOOLS.2-0-3~31 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=creaImageIO.git;a=commitdiff_plain;h=19bb8fbdabcf058a07b777f21b3e518c6078f2b9 Need to recreate creaImageIO database --- diff --git a/appli/TestWxGimmickReaderDialog/main.cxx b/appli/TestWxGimmickReaderDialog/main.cxx index 797f46e..8c7ce1f 100644 --- a/appli/TestWxGimmickReaderDialog/main.cxx +++ b/appli/TestWxGimmickReaderDialog/main.cxx @@ -87,15 +87,39 @@ bool myApp::OnInit( ) w.GetSelectedImages(images,3); - - - + // First Exemple: + // We take all attributes from database + // but only for the first selected file. + // For the moment, no output model file (XML) + // std::vector out; + // std::vector attr; + // attr.push_back("ALL"); + // w.getSelected(out, attr, false,""); + + + // Second Exemple: + // We take all attributes from database + // but for all selected file. + // For the moment, no output model file (XML) + // std::vector out; + // std::vector attr; + // attr.push_back("ALL"); + // w.getSelected(out, attr,true,""); + + // Third Exemple: + // We take attributes from database and others + // but for all selected file. + // For the moment, no output model file (XML) std::vector out; - std::vector attr; - //attr.push_back("ALL"); - attr.push_back("D0008_1070"); - w.getSelected(out, attr,true,""); - + std::vector attr; + attr.push_back("D0028_0010"); + attr.push_back("D0008_0023"); + attr.push_back("D0008_1070"); + w.getSelected(out, attr,true,""); + std::cout<Delete(); + w.OnExit(); // images[1]->UpdateInformation(); @@ -121,10 +145,8 @@ bool myApp::OnInit( ) - //w.GetSelectedImages(images,output_dim); - std::cout<Delete(); w.OnExit();