]> Creatis software - creaContours.git/commitdiff
EED \88 Bogota
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Thu, 29 Jan 2009 12:19:17 +0000 (12:19 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Thu, 29 Jan 2009 12:19:17 +0000 (12:19 +0000)
appli/wxContourGUIExample/wxContourGUIExample.cxx
appli/wxContourGUIExample/wxContourGUIExample.h
lib/kernel_ManagerContour_NDimensions/OutlineModelManager.cxx

index 9849c424834c19e768a347039e3e57682311a8d8..9543a5ca6ecc8da6177e56ab799e5b49c5fa409d 100644 (file)
@@ -41,11 +41,23 @@ wxContourMainFrame* wxTheApplication::frame = 0;
 
 IMPLEMENT_APP( wxTheApplication );
 
+/*
 wxContourGUIExample :: wxContourGUIExample(const wxString& title, const wxPoint& pos, const wxSize& size)
 : wxFrame((wxFrame *) NULL, -1, title, pos, size)
 {
        
 }
+*/
+
+#ifdef _DEBUG
+void wxAppConsole::OnAssert(char const *,int,char const *,char const *)
+{
+}
+
+void wxAppConsole::OnAssertFailure(char const *,int,char const *,char const *,char const *)
+{
+}
+#endif
 
 bool wxTheApplication :: OnInit()
 {
@@ -233,7 +245,7 @@ JCP 17-10-2008*/
 
        }else if (w.GetReturnCode() == wxID_CANCEL){
           vtkMetaImageReader *reader = vtkMetaImageReader::New();
-          reader->SetFileName( "D:/CAT08/Datos/Imagenes/image06.mhd"); //"data/hola.mhd" );
+          reader->SetFileName( "data/hola.mhd" );
           reader->Update();
           images.push_back(reader->GetOutput());
        }else{        
@@ -241,7 +253,7 @@ JCP 17-10-2008*/
        }   
 
 
-       wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 23 Oct 2008 "), wxPoint(400,50), wxSize(800, 600) );
+       wxFrame* frame1 = new wxFrame(NULL, wxID_ANY, wxT("ROI Application  -    Evaluation version, 28 Jan 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 b61ccb6858d57d1605125290bbfbbc617dae00d9..ca18f238fa093c728b3c740174b3dbde8122fa61 100644 (file)
 #include <string.h>
 #include "wxContourMainFrame.h"
 
+/*
+eed
 
 class wxContourGUIExample : public wxFrame
 {
 public:
-       wxContourGUIExample/*(wxWindow *parent,wxString title);*/(const wxString& title, const wxPoint& pos, const wxSize& size);
+//     wxContourGUIExample(wxWindow *parent,wxString title);
+       wxContourGUIExample(const wxString& title, const wxPoint& pos, const wxSize& size);
 
     void OnBtnRun(wxCommandEvent& event);
        
@@ -35,7 +38,7 @@ private:
        //DECLARE_CLASS(wxContourGUIExample)    
 
 };
-
+*/
 
 class wxTheApplication : public wxApp
 {
index 44d91fa5f592521c68c2fb1dc8d76f5aed628ece..89d0b6da6df88b33a53f905c56a10cce3ac0759b 100644 (file)
@@ -78,6 +78,7 @@
        * @param theCommand Is the command to execute
        * @param fromRegistration Indicates if the execution is directed from the registration, by default comes from the GUI = false.
        */
+
        bool OutlineModelManager :: executeCommand_OutlineModel(std::string outKName, CommandObject * theCommand, bool fromRegistration)
        {
                ContourThing * theOutline = *outlinesEnvironment->getThingByName( outKName );