]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx
#3418 creaMaracasVisu Feature New Normal - ManualPaint_model with openmp
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.cxx
index 8fdaa7c2b4a53befbf1fc84cdeac8e8ea0bfef25..4bc83c84e70e86c0fe38bfbfa944401e309cb9cd 100644 (file)
@@ -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