X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk%2Fsrc%2FbbmaracasvisuViewerMPR.cxx;h=bbb2adbe37f3367842e3341e623321ee846b0d80;hb=9dc674e734b8dc98f1729630889bcabc9f4a695c;hp=2ba4227066bf4a4e34bf455a1eeaa1f25863c8f2;hpb=44e4be7013ea566bd2bdefb9d48e1da0071c3d91;p=creaMaracasVisu.git diff --git a/bbtk/src/bbmaracasvisuViewerMPR.cxx b/bbtk/src/bbmaracasvisuViewerMPR.cxx index 2ba4227..bbb2adb 100644 --- a/bbtk/src/bbmaracasvisuViewerMPR.cxx +++ b/bbtk/src/bbmaracasvisuViewerMPR.cxx @@ -1,7 +1,7 @@ #include "bbmaracasvisuViewerMPR.h" -#include "bbmaracasvisuPackage.h" -namespace bbmaracasvisu +#include "bbcreaMaracasVisuPackage.h" +namespace bbcreaMaracasVisu { //-------------------------------------------------------------------------- @@ -83,8 +83,7 @@ END_EVENT_TABLE( ); point.push_back((int)wxwidget->GetVtkMPRBaseData()->GetY()); point.push_back((int)wxwidget->GetVtkMPRBaseData()->GetZ()); mbbViewerMPR->bbSetOutputPoint( GetPoint() ); - mbbViewerMPR->bbSetModifiedStatus(); - mbbViewerMPR->bbSignalOutputModification("Point"); + mbbViewerMPR->bbSignalOutputModification(std::string("Point")); wxwidget->RefreshView(); } } @@ -106,7 +105,7 @@ END_EVENT_TABLE( ); -BBTK_ADD_BLACK_BOX_TO_PACKAGE(maracasvisu,ViewerMPR) +BBTK_ADD_BLACK_BOX_TO_PACKAGE(creaMaracasVisu,ViewerMPR) BBTK_BLACK_BOX_IMPLEMENTATION(ViewerMPR,bbtk::WxBlackBox); void ViewerMPR::Process() { @@ -115,12 +114,12 @@ void ViewerMPR::Process() bbSetOutputRenderer( mwxwidgetmpr->GetRenderer() ); } -void ViewerMPR::CreateWidget() +void ViewerMPR::CreateWidget(wxWindow* parent) { bbtkDebugMessageInc("Core",9,"ViewerMPR::CreateWidget() " <