]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.cxx
#3383 NDimension changeImage
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourViewPanel.cxx
index 85952db7722110586daf1ed22d76099a95e6f558..e8eca002e5f3e8844f9488b72897a30425799e9c 100644 (file)
@@ -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));