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=9f5de8ad3c63ee107d81ba23cb9a432b48b64706;hpb=c0f82ff1e5e20e5b66886ab83e1753aa91b187fd;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 9f5de8a..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) { @@ -457,16 +467,6 @@ 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