#include "bbmaracasvisuViewerMPR.h"
-#include "bbmaracasvisuPackage.h"
-namespace bbmaracasvisu
+#include "bbcreaMaracasVisuPackage.h"
+namespace bbcreaMaracasVisu
{
//--------------------------------------------------------------------------
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();
}
}
-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()
{
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 );
}
{
bbSetInputIn(NULL);
}
-void ViewerMPR::bbUserCopyConstructor()
+void ViewerMPR::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
{
}
}
}
-// EO namespace bbmaracasvisu
+// EO namespace bbcreaMaracasVisu