]> Creatis software - creaContours.git/blobdiff - appli/wxContourGUIExample/wxContourGUIExample.cxx
*** empty log message ***
[creaContours.git] / appli / wxContourGUIExample / wxContourGUIExample.cxx
index 5ba7580971cc9cbb9ed1e092f52cfae4470f415f..1fc7f77c75f1151ac1ce0ce4168ea3e51ad2835c 100644 (file)
@@ -271,10 +271,14 @@ bool wxTheApplication :: OnInit()
        int output_dim = NATIVE;
        int threads = 1;
 
+       std::vector<vtkImageData*> images;
+
        //creaImageIO::WxGimmickDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),max_image_type,threads);
+
        creaImageIO::WxGimmickReaderDialog w(0,-1,_T("WxGimmickDialog test"),wxDefaultPosition,wxSize(1200,800),min_image_type,max_image_type,output_dim,threads);
        w.ShowModal();
 
+
 //JCP
        //std::string datadir(  crea::wx2std(GetExecutablePath()) );    
        std::string datadir(  GetExecutablePath() );
@@ -285,7 +289,6 @@ bool wxTheApplication :: OnInit()
                #endif // MACOSX        
                
                
-               std::vector<vtkImageData*> images;
 
                        if(w.GetReturnCode() == wxID_OK)
                        {
@@ -313,6 +316,8 @@ bool wxTheApplication :: OnInit()
                                return -1;
                        }   
 
+
+
        wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 09 Feb 2009 "), wxPoint(400,50), wxSize(800, 600) );
 
        //frame = new wxContourMainFrame( frame1, wxID_ANY, wxString(_T("")), wxPoint(50,50), wxSize(800, 600), images );