]> Creatis software - creaImageIO.git/blobdiff - appli/TestWxGimmickReaderDialog/main.cxx
new Output format and structure for Gimmick. Based on creaImageIO Output document...
[creaImageIO.git] / appli / TestWxGimmickReaderDialog / main.cxx
index 33157d9cf427f055cbbe9ee6ee1edacc2753939c..797f46ed9920b28796376add7c74be1bb2c104af 100644 (file)
@@ -6,7 +6,7 @@
 #include <creaVtkBasicSlicer.h>
 
 
-//
+
 //#pragma comment(lib, "creaImageIO.lib")
 //#pragma comment(lib, "DelayImp.lib")
 //
@@ -49,7 +49,6 @@ bool myApp::OnInit( )
    int output_dim = _3D;
 
    int threads = 1;
-
  
    creaImageIO::WxGimmickReaderDialog w(
                     0,
@@ -87,6 +86,18 @@ bool myApp::OnInit( )
        std::vector<vtkImageData*> images;
           w.GetSelectedImages(images,3);
 
+       
+
+
+
+          std::vector<creaImageIO::OutStrGimmick> out;
+               std::vector<std::string> attr;
+               //attr.push_back("ALL");
+               attr.push_back("D0008_1070");
+               w.getSelected(out, attr,true,"");
+
+
+
 // images[1]->UpdateInformation();
        /*   vtkMetaImageReader *r= vtkMetaImageReader::New();
                   r->SetFileName("c:\\toto.mhd");
@@ -137,5 +148,3 @@ bool myApp::OnInit( )
    std::cout << "$$$$$$$$$$$$$$$$$$$$ main ended "<<std::endl;
    return false;
 }
-
-