]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx
Clean code
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.cxx
index 9f5de8ad3c63ee107d81ba23cb9a432b48b64706..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)
 {
@@ -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