Salome HOME
refs #1330: draft preferences implementation for polyline arrow
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ShapeBathymetry.h
index f71e433643d02ebecdaf0cd755f24b26b03771ba..91a0a7729b46bc70dbaf32d941e5d0ee342d775b 100644 (file)
@@ -24,7 +24,7 @@
 #include <Quantity_HArray1OfColor.hxx>
 
 class HYDROData_Bathymetry;
-class Aspect_ColorScale;
+class AIS_ColorScale;
 class HYDROGUI_OCCDisplayer;
 
 class HYDROGUI_ShapeBathymetry : public HYDROGUI_Shape
@@ -37,7 +37,7 @@ public:
   virtual ~HYDROGUI_ShapeBathymetry();
 
   void GetRange( double& theMin, double& theMax ) const;
-  void UpdateWithColorScale( const Handle(Aspect_ColorScale)& );
+  void UpdateWithColorScale( const Handle(AIS_ColorScale)& );
 
   virtual void display( const bool theIsUpdateViewer = true );
   virtual void erase( const bool theIsUpdateViewer = true );
@@ -48,9 +48,11 @@ public:
   virtual void               setVisible( const bool theState,
                                          const bool theIsUpdateViewer = true );
 protected:
-  virtual Handle(AIS_InteractiveObject) createShape() const;
+  virtual QList<Handle(AIS_InteractiveObject)> createShape() const;
   virtual void displayShape( const bool theIsUpdateViewer );
 
+  void setToUpdateColorScale( bool isChanged );
+
 private:
   HYDROGUI_OCCDisplayer* myDisplayer;
   Handle(TColgp_HArray1OfPnt)     myCoords;