X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewManager.cxx;fp=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewManager.cxx;h=9f5de8ad3c63ee107d81ba23cb9a432b48b64706;hb=c0f82ff1e5e20e5b66886ab83e1753aa91b187fd;hp=8fdaa7c2b4a53befbf1fc84cdeac8e8ea0bfef25;hpb=75d79aeb1ea13f86ff23da48432f3c142420670f;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx index 8fdaa7c..9f5de8a 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx @@ -444,7 +444,6 @@ void ColorLayerImageViewManager::GetSpcOriginalLayer(int id,double *spc) } // if } -//---------------------------------------------------------------------------- //---------------------------------------------------------------------------- void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc) { @@ -458,7 +457,16 @@ void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc) } // for } - +//---------------------------------------------------------------------------- +vtkScalarsToColors* ColorLayerImageViewManager::GetLookupTable(int id) +{ + vtkScalarsToColors* lookuptable; + if (_colorLayerImageViewLst[id]!=NULL) + { + lookuptable = _colorLayerImageViewLst[id]->GetLookupTable( ); + } // if + return lookuptable; +} // EOF