]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/ColorLayerImageView.h
#2520 creaMaracasVisu - Bug New Normal - Color Layer with double images
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / ThresholdImageView / ColorLayerImageView.h
index 6d18f93779b441b852479cc39f4f81ca2866de69..75c6e1a107c62ec04af4d204798cd4a7ad4d6cfa 100644 (file)
@@ -92,7 +92,9 @@ class  ColorLayerImageView : public LayerImageBase
          int GetBaseColorNb();
 
 
-               void FillColorTable(int start, int end, double r1, double g1, double b1, double r2, double g2, double b2);
+               void    FillColorTable(int start, int end, double r1, double g1, double b1, double r2, double g2, double b2);
+
+               int     GrayLevel_TO_colorTableIndex( double VALUE );
 
 
   private:
@@ -102,6 +104,8 @@ class  ColorLayerImageView : public LayerImageBase
          void SetDefaultGreyLevelBoundary();
          void SetDefaultBaseColorAndGreyLevelBoundary();
          virtual void ConfigLookupTable();
+     int maxColorsThresholdTable;
+
 
          //! Range values in the colored image.
          double _range[2];