]> 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 e9adb4fcc3923beda564b2eb1dd837be6d9dba57..75c6e1a107c62ec04af4d204798cd4a7ad4d6cfa 100644 (file)
@@ -91,6 +91,12 @@ class  ColorLayerImageView : public LayerImageBase
           */
          int GetBaseColorNb();
 
+
+               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:
 
          int _x2, _y2, _z2;
@@ -98,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];