]> Creatis software - creaImageIO.git/blobdiff - appli/TestWxGimmickReaderDialog/main.cxx
#333 Export new list of filesnames after DropDuplicatePositions
[creaImageIO.git] / appli / TestWxGimmickReaderDialog / main.cxx
index ee0ec18bdba4c73c95fa5b0edc86d7726e8823f6..833b1020c27cde3a2260bdcca4ad3b7fe7b17c0b 100644 (file)
@@ -112,8 +112,8 @@ bool myApp::OnInit( )
        std::cout << "$$$$ "<<std::endl;
 
        //Puts images
-       std::vector<vtkImageData*> images;
-          w.GetSelectedImages(images,3);
+    /*   std::vector<vtkImageData*> 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<creaImageIO::OutStrGimmick> out;
+       std::vector<std::string> outFileNames;
        std::vector<std::string> 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<<out.size()<<std::endl;
           crea::VtkBasicSlicer(out.front().img);
        out.front().img->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)