]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx
RaC Changes that includes a Polygon contour in creaMaracasVisu. It includes changes
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkMPR3DView.cxx
index aa6011e5f136113e02a1d5978b4544a15333c12c..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
 {