]> Creatis software - creaMaracasVisu.git/blobdiff - bbtk/src/bbmaracasvisuViewerMPR.cxx
*** empty log message ***
[creaMaracasVisu.git] / bbtk / src / bbmaracasvisuViewerMPR.cxx
index 2ba4227066bf4a4e34bf455a1eeaa1f25863c8f2..bbb2adbe37f3367842e3341e623321ee846b0d80 100644 (file)
@@ -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() " <<std::endl);
        marImageData    *marimagedata = new marImageData(bbGetInputIn() );
        bbtkDebugDecTab("Core",9);
-       mwxwidgetmpr = new wxWidgetMPR(this , bbGetWxParent() ,marimagedata);
+       mwxwidgetmpr = new wxWidgetMPR(this , parent ,marimagedata);
        bbSetOutputWidget( mwxwidgetmpr );
 }
 
@@ -128,7 +127,7 @@ void ViewerMPR::bbUserConstructor()
 {
                bbSetInputIn(NULL);
 }
-void ViewerMPR::bbUserCopyConstructor()
+void ViewerMPR::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
 {
 
 }
@@ -137,6 +136,6 @@ void ViewerMPR::bbUserDestructor()
 
 }
 }
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu