X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtkMPR3DView.cxx;h=d6e88bbe5598dabd95916bf14c98b12135ec3278;hb=ff4adfbc5df1494e30a43b91dffc2a35205d4421;hp=a094c266bcc871a8457c4f41b461ef5e0ef9c049;hpb=84b5725a8c5c34c86a82f132c6dc3a2756bfc999;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx index a094c26..d6e88bb 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkMPR3DView.cxx @@ -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 +} +