X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FColorLayerImageViewManager.cxx;h=4bc83c84e70e86c0fe38bfbfa944401e309cb9cd;hb=ca35b13e046343c8b50cbd6b833828b06c9d1608;hp=8fdaa7c2b4a53befbf1fc84cdeac8e8ea0bfef25;hpb=cef231b63d21ad7ac9914306a0a012666c24f00a;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..4bc83c8 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx @@ -408,6 +408,16 @@ vtkImageData* ColorLayerImageViewManager::GetImageChangeInformation(int id) return NULL; } +//---------------------------------------------------------------------------- +vtkLookupTable* ColorLayerImageViewManager::GetLookupTable(int id) +{ + if (_colorLayerImageViewLst[id]!=NULL) + { + return _colorLayerImageViewLst[id]->GetThresholdTable( ); + } // if + return NULL; +} + //---------------------------------------------------------------------------- void ColorLayerImageViewManager::GetDimensionBase(int id,int *dim) { @@ -444,7 +454,6 @@ void ColorLayerImageViewManager::GetSpcOriginalLayer(int id,double *spc) } // if } -//---------------------------------------------------------------------------- //---------------------------------------------------------------------------- void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc) { @@ -459,6 +468,5 @@ void ColorLayerImageViewManager::SetNewSpacingLayer(double *spc) } - // EOF