Salome HOME
Fix for Bug IPAL8945
[modules/visu.git] / src / PIPELINE / VISU_LookupTable.hxx
index 769ba89221eae383278a52b2b1085f527c5ac109..20f7c23e5b2b0673f2c7e974e4d51a8d71dca03a 100644 (file)
@@ -20,8 +20,11 @@ class VISU_LookupTable: public vtkLookupTable {
                                        int inputDataType, int numberOfValues,
                                        int inputIncrement, int outputIncrement);
 
-   float GetMapScale() { return myScale; }
-   void SetMapScale(float theScale = 1.0) { myScale = theScale; Modified(); }
+  float GetMapScale() { return myScale; }
+  void SetMapScale(float theScale = 1.0);
+
+  float GetBicolor() { return myBicolor; }
+  void SetBicolor( bool theBicolor );
 
    static int ComputeLogRange(float inRange[2], float outRange[2]);
    unsigned char *MapValue(float v);
@@ -31,5 +34,7 @@ class VISU_LookupTable: public vtkLookupTable {
    ~VISU_LookupTable() {};
    
    float myScale;
+
+   bool myBicolor;
 };
 #endif // VISU_LookupTable_H