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);
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);
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;
b2d.SetConvertModeToDicom();
b2d.verbose=false;
b2d.Execute();
-
if (addToDB)
{
mProgressDialog = new wxProgressDialog(_T("Adding directory"),_T(""),1000,this,wxPD_ELAPSED_TIME |wxPD_CAN_ABORT );