]> 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 9543a5ca6ecc8da6177e56ab799e5b49c5fa409d..45815f4daef26d006c803875055aa272ef9af948 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 b40caf42caf7c3af1c31a7f6a1f748b01d83960b..cd697ef36fb8042a3c986eb656c90472cd48ba0d 100644 (file)
@@ -211,8 +211,7 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHOOSER_CHANGE )
                                                aConcept->clearCheckAt( groupID );
                                        }                                       
                                }
-                       }               
-                       
+                       }                       
                }
        }
 
index 93e21d5d355cc8489aa48fbafdbd75d595c1e139..d741dc6b089650d1fb23064067fca4e94a5cf6c5 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 39871491779663f9ce6c51e772e3a1f8e6b522b5..7e4d4dc298f7f57ed11b3ee741b8a31dbb2a5c29 100644 (file)
@@ -12,6 +12,7 @@
 //#include "ContourThing.h"
 #include "OutlineModelManager.h"
 #include "OutlineModelBuilder.h"
+#include "time.h"
 
 #include "ContourPropagation.h"
 
index 5c0c33cf8b1bde2c40fadc2cad24105f7d1f13c5..a8c436605ec64a14aa763188584bcb1cb7643e2e 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);
        }
 
        /**