X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_ManagerContour_NDimensions%2FwxContourViewPanel.cxx;h=e8eca002e5f3e8844f9488b72897a30425799e9c;hb=469e6994cecb1763109864df0be7067fe5c344f3;hp=85952db7722110586daf1ed22d76099a95e6f558;hpb=6afda9ffe8fc5ee4fd7d6fa2ae006a0c78b5b1d8;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx index 85952db..e8eca00 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx +++ b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx @@ -185,20 +185,17 @@ DEFINE_EVENT_TYPE( wxINSTANT_CHANGE ) numViews->push_back(0); theViewPanel = new wxMaracas_N_ViewersWidget( this, showingVID, numViews ); SetVisibleAxis(false); - theViewPanel->SetBackgroundColour(wxColour(0,0,0)); - theViewPanel->SetSize(800,600); theViewPanel->GetWindow(1)->SetSize(800,600); - } //------------------------------------------------------------------------------------------------------------ - void wxContourViewPanel::changeImage(vtkImageData* img){ - + void wxContourViewPanel::changeImage(vtkImageData* img) + { theViewPanel->SetImage(img); - } + wxVtkMPR2DView * wxContourViewPanel::GetwxVtkMPR2DView() { return (wxVtkMPR2DView *) (theViewPanel->GetwxVtkBaseView(1));