]> Creatis software - creaImageIO.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 28 May 2010 14:10:22 +0000 (14:10 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 28 May 2010 14:10:22 +0000 (14:10 +0000)
src/creaImageIOWxGimmickPanel.h
src/creaImageIOWxGimmickReaderDialog.h
src/creaImageIOWxGimmickView.cpp

index 0f0c494..ed206ee 100644 (file)
@@ -56,12 +56,24 @@ namespace creaImageIO
        mView->GetSelectedImages(s, dim); 
     }
 
-    void GetSelectedImagesInVector(std::vector<vtkImageData*>& s, int dim)
-    { 
-       mView->GetSelectedImagesInVector(s, dim); 
-    }
+//EED 28mai2010      Use new mechanism getSelected
+//    void GetSelectedImagesInVector(std::vector<vtkImageData*>& s, int dim)
+//    { 
+//     mView->GetSelectedImagesInVector(s, dim); 
+//    }
+
+
+       // ----get selected files in an Output structure-------
+       // out: vector structure output  < <img, info>, ... >
+       // i_attr: list of dicom tags to extract 
+       // mult: information of one file or multiple files
+       // outmodel: xml-filename that specifies images order..(todo) 
+       void getSelected(std::vector<OutStrGimmick> &outG,std::vector< std::string> i_attr, bool mult, const std::string outmodel)
+       {
+               mView->getSelectedFiles(outG, i_attr, mult, outmodel);
+       }
+
 
-  
 
     void OnSelectedImage(bool t);
 
index 9750740..e037559 100644 (file)
@@ -47,7 +47,11 @@ namespace creaImageIO
     void GetSelectedImagesInVector(std::vector<vtkImageData*>& s, int dim)
     { mView->GetSelectedImagesInVector(s, dim); }
 
-       // get selected files in an Output structure
+       // ----get selected files in an Output structure-------
+       // out: vector structure output  < <img, info>, ... >
+       // i_attr: list of dicom tags to extract 
+       // mult: information of one file or multiple files
+       // outmodel: xml-filename that specifies images order..(todo) 
        void getSelected(std::vector<OutStrGimmick> &outG,std::vector< std::string> i_attr, bool mult, const std::string outmodel)
        {
                mView->getSelectedFiles(outG, i_attr, mult, outmodel);
index d9f727c..2f317e1 100644 (file)
@@ -956,7 +956,7 @@ namespace creaImageIO
 
                        if (inputDir.compare("")!=0 && outputDir.compare("")!=0)
                        {
-                               if ( wxMessageBox(_T("Depending on the amount of Data the process can take between 1 and 5 minutes. Do you want to continue?"),
+                               if ( wxMessageBox(_T("Depending on the amount of Data the process can take several minutes. Do you want to continue?"),
                                                  _T("Please confirm"), wxICON_QUESTION | wxYES_NO) == wxYES )
                                {
                                        Bruker2Dicom b2d;    
@@ -965,7 +965,6 @@ namespace creaImageIO
                                        b2d.SetConvertModeToDicom();
                                        b2d.verbose=false;
                                        b2d.Execute();
-
                                        if (addToDB)
                                        {
                                                mProgressDialog = new wxProgressDialog(_T("Adding directory"),_T(""),1000,this,wxPD_ELAPSED_TIME |wxPD_CAN_ABORT );