]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx
no newline at end of file
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkMPR3DView.cxx
index a094c266bcc871a8457c4f41b461ef5e0ef9c049..d6e88bbe5598dabd95916bf14c98b12135ec3278 100644 (file)
@@ -183,6 +183,10 @@ void wxVtkMPR3DView::Configure(){
 //-------------------------------------------------------------------
 wxVtkMPR3DView::~wxVtkMPR3DView()
 {
+       printf("EED wxVtkMPR3DView::~wxVtkMPR3DView\n");
+       VisiblePointWidget( false );
+       VisiblePlaneWidget( false );
+       
        if(_pointWidget!=NULL){
                _pointWidget->Delete();
        }
@@ -198,7 +202,9 @@ wxVtkMPR3DView::~wxVtkMPR3DView()
        }
 
 }
-
+void wxVtkMPR3DView::setColorTransferFunction(vtkColorTransferFunction* colortable){
+       GetVtkMPR3DDataViewer ()->setColorTransferFunction(colortable); 
+}
 //-------------------------------------------------------------------
 void wxVtkMPR3DView::Refresh()   // virtual
 {
@@ -503,4 +509,5 @@ void wxVtkMPR3DView::TestLoic2()
   iren->Start();
 
 
-}
\ No newline at end of file
+}
+