]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxGimmickPanel.h
*** empty log message ***
[creaImageIO.git] / src / creaImageIOWxGimmickPanel.h
index ad776ddb2662ade85979b8f2469d80a4110bfd05..ed206eef7a98abf56db00912c3244aa6ab1dcafc 100644 (file)
@@ -56,10 +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);