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();
}
}
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 );
}
void ViewerMPR::bbUserConstructor()
{
+ wxwidget = NULL;
bbSetInputIn(NULL);
}
-void ViewerMPR::bbUserCopyConstructor()
+void ViewerMPR::bbUserCopyConstructor(bbtk::BlackBox::Pointer)
{
}