#include <Quantity_HArray1OfColor.hxx>
class HYDROData_Bathymetry;
-class Aspect_ColorScale;
+class AIS_ColorScale;
class HYDROGUI_OCCDisplayer;
class HYDROGUI_ShapeBathymetry : public HYDROGUI_Shape
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 );
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;