]> Creatis software - creaContours.git/commitdiff
*** empty log message ***
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Mon, 9 Feb 2009 16:28:54 +0000 (16:28 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Mon, 9 Feb 2009 16:28:54 +0000 (16:28 +0000)
appli/wxContourGUIExample/wxContourGUIExample.cxx
lib/Interface_ManagerContour_NDimensions/wxInstantChooserPanel.cxx
lib/kernel_ManagerContour_NDimensions/KernelManagerContour.cxx
lib/kernel_ManagerContour_NDimensions/KernelManagerContour.h
lib/kernel_ManagerContour_NDimensions/OutlineModelBuilder.cxx

index 9543a5c..45815f4 100644 (file)
@@ -253,7 +253,8 @@ JCP 17-10-2008*/
        }   
 
 
-       wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 28 Jan 2009 "), wxPoint(400,50), wxSize(800, 600) );
+       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 ); 
        frame = wxContourMainFrame::getInstance(frame1, wxID_ANY, wxString(_T("")), wxPoint(200,50), wxSize(800, 600), images );
        frame1->CreateStatusBar();
index b40caf4..cd697ef 100644 (file)
@@ -211,8 +211,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE )
                                                aConcept->clearCheckAt( groupID );
                                        }                                       
                                }
-                       }               
-                       
+                       }                       
                }
        }
 
index 93e21d5..d741dc6 100644 (file)
@@ -13,7 +13,13 @@ KernelManagerContour::KernelManagerContour(){
 **/
        inredo = 0;
        inundo = 0;     
-       stundoredo = "data/temp";
+
+       time_t seconds;
+       seconds = time (NULL);
+       int time = seconds;
+
+
+       stundoredo = "data/temp"+intToString(time);
        _currentIndex = 0;
 
        _contourPropagation = NULL;
@@ -36,9 +42,15 @@ KernelManagerContour::KernelManagerContour(std::vector<vtkImageData*> images){
 **/
        inredo = 0;
        inundo = 0;     
-       stundoredo = "data/temp";
-       _currentIndex = 0;
 
+       time_t seconds;
+       seconds = time (NULL);
+       int time = seconds;
+
+
+       stundoredo = "data/temp"+intToString(time);
+       _currentIndex = 0;
+       
        _contourPropagation = NULL;
 #if(WIN32)
                mkdir(stundoredo.c_str());
index 3987149..7e4d4dc 100644 (file)
@@ -12,6 +12,7 @@
 //#include "ContourThing.h"
 #include "OutlineModelManager.h"
 #include "OutlineModelBuilder.h"
+#include "time.h"
 
 #include "ContourPropagation.h"
 
index 5c0c33c..a8c4366 100644 (file)
@@ -90,6 +90,7 @@ OutlineModelBuilder ::  OutlineModelBuilder(std::string  theConceptsFile, std::s
        {
                if( !conceptsFile.empty() )
                        imageSourceEnv_Reader = new ReaderEnvironment<ImageSourceThing *> (conceptsFile, sourcesFile, sources);
+                       //imageSourceEnv_Reader = new ReaderEnvironment<ImageSourceThing *> ("data/holaConceptsFile.cf", sourcesFile, sources);
        }
 
        /**