From: Eduardo Davila Date: Tue, 31 Mar 2009 07:35:41 +0000 (+0000) Subject: BUG MACOS X-Git-Tag: EED.02Oct2009~114 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0a4bb77d5281ee5bc6eebd504abae2500cfa780a;p=creaMaracasVisu.git BUG MACOS --- diff --git a/bbtk/src/bbmaracasvisuViewerMPR.cxx b/bbtk/src/bbmaracasvisuViewerMPR.cxx index 246ae62..8375a6e 100644 --- a/bbtk/src/bbmaracasvisuViewerMPR.cxx +++ b/bbtk/src/bbmaracasvisuViewerMPR.cxx @@ -122,18 +122,15 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ViewerMPR) BBTK_BLACK_BOX_IMPLEMENTATION(ViewerMPR,bbtk::WxBlackBox); void ViewerMPR::Process() { -printf("EED ViewerMPR::Process 01\n"); if (wxwidget!=NULL){ wxBusyCursor wait; if(marimagedata==NULL){ wxwidget->setMarImage(new marImageData(bbGetInputIn() )); wxwidget->ConfigureVTK(); - -printf("EED ViewerMPR::Process 02\n"); - wxwidget->wxPanel::Refresh(); - wxwidget->Show(); -// wxwidget->Refresh(); +// wxwidget->wxPanel::Refresh(); + wxwidget->Refresh(); +// wxwidget->Show(); } bbSetOutputPoint( wxwidget->GetPoint() ); bbSetOutputRenderer( wxwidget->GetRenderer() ); @@ -142,7 +139,6 @@ printf("EED ViewerMPR::Process 02\n"); void ViewerMPR::CreateWidget(wxWindow* parent) { -printf("EED ViewerMPR::CreateWidget \n"); bbtkDebugMessageInc("Core",9,"ViewerMPR::CreateWidget() " <Refresh(false); #else - _iren->Render(); + +//EED 01Avril2009 +// _iren->Render(); + vtkRenderWindowInteractor *vri = GetWxVTKRenderWindowInteractor(); + vri->vtkRenderWindowInteractor::Render(); + + //_iren->Refresh(); #endif