]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageViewManager.cxx
#3263 creaMaracasVisu Feature New Normal - ViewerNV sync ParallelScale Camera
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageViewManager.cxx
index 9f5de8ad3c63ee107d81ba23cb9a432b48b64706..1ba779ef890db57b2a421fa1e0e44174dae30cc6 100644 (file)
@@ -408,6 +408,19 @@ vtkImageData* ColorLayerImageViewManager::GetImageChangeInformation(int id)
        return NULL;
 }
 
+//----------------------------------------------------------------------------
+vtkLookupTable*        ColorLayerImageViewManager::GetLookupTable(int id)
+{
+printf("EED ColorLayerImageViewManager::GetLookupTable 0 \n");
+       if (_colorLayerImageViewLst[id]!=NULL)
+       {
+printf("EED ColorLayerImageViewManager::GetLookupTable 1 \n");
+          return _colorLayerImageViewLst[id]->GetThresholdTable( );
+       } // if 
+printf("EED ColorLayerImageViewManager::GetLookupTable 2 \n");
+       return NULL;
+}
+
 //----------------------------------------------------------------------------
 void ColorLayerImageViewManager::GetDimensionBase(int id,int *dim)
 {
@@ -457,16 +470,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