]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk2DBaseView.cxx
ViewerNV 2D with color Transfer Function
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtk2DBaseView.cxx
index 45a387a363f244dc823acce94a70a3ccb5bb518b..a7a406ba828a7bc7c37e7f113559bcabf52f4291 100644 (file)
@@ -241,3 +241,8 @@ void wxVtk2DBaseView::GetSpacing(double spc[3])  // virtual
    imageData->GetSpacing(spc);
 }
 
+void wxVtk2DBaseView::setColorTransferFunction(vtkColorTransferFunction* colortable){
+       if(_imageViewer2XYZ!=NULL){
+               _imageViewer2XYZ->setColorTransferFunction(colortable);
+       }
+}