]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.cxx
GetViewer Box
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.cxx
index c0b9dd263a2d008a69bc51d548ac0b3d5645362b..37cc8d33f88d2aa9c4fc62b5071fb2bbab335de2 100644 (file)
@@ -3184,8 +3184,9 @@ void wxContourMainFrame::SetColorLayerImage(vtkImageData* img)
        {
                if (img!=NULL)
                {
+                       _viewColorLayerImagePanel->SetActive(true);
                        _viewColorLayerImagePanel->SetImage( img );
-                       RefreshInterface();
+//                     RefreshInterface();
                } // img
        } // _viewColorLayerImagePanel
 }
@@ -3418,6 +3419,15 @@ void wxContourMainFrame::SetXY(int x, int y)
        _theViewPanel->SetXY(x,y);
 }
 
+wxVtkBaseView* wxContourMainFrame::GetWxVtkBaseView()
+{
+       if (_theViewPanel!=NULL)
+       {
+               return _theViewPanel->getWxVtkBaseView();;
+       } else {
+               return NULL;
+       }
+}