X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_ShapeBathymetry.h;h=c736c60fd1765b072cf1a489a1a9e32b9ec0b7da;hb=58bb6b7459bebeeb089c9ed486c4683a8bae7288;hp=8a6447215ebe52080263d0b88a436febe75bbbee;hpb=88441aa985fa1329b81af33a2769bf2f8858aaa0;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_ShapeBathymetry.h b/src/HYDROGUI/HYDROGUI_ShapeBathymetry.h index 8a644721..c736c60f 100644 --- a/src/HYDROGUI/HYDROGUI_ShapeBathymetry.h +++ b/src/HYDROGUI/HYDROGUI_ShapeBathymetry.h @@ -23,8 +23,8 @@ #include #include -class Handle_HYDROData_Bathymetry; -class Handle_Aspect_ColorScale; +class HYDROData_Bathymetry; +class AIS_ColorScale; class HYDROGUI_OCCDisplayer; class HYDROGUI_ShapeBathymetry : public HYDROGUI_Shape @@ -32,12 +32,12 @@ class HYDROGUI_ShapeBathymetry : public HYDROGUI_Shape public: HYDROGUI_ShapeBathymetry( HYDROGUI_OCCDisplayer* theDisplayer, const Handle(AIS_InteractiveContext)& theContext, - const Handle_HYDROData_Bathymetry& theBathymetry, + const Handle(HYDROData_Bathymetry)& theBathymetry, const int theZLayer = -1 ); 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,15 +48,15 @@ public: virtual void setVisible( const bool theState, const bool theIsUpdateViewer = true ); protected: - virtual Handle_AIS_InteractiveObject createShape() const; + virtual Handle(AIS_InteractiveObject) createShape() const; virtual void displayShape( const bool theIsUpdateViewer ); void setToUpdateColorScale( bool isChanged ); private: HYDROGUI_OCCDisplayer* myDisplayer; - Handle_TColgp_HArray1OfPnt myCoords; - Handle_Quantity_HArray1OfColor myColors; + Handle(TColgp_HArray1OfPnt) myCoords; + Handle(Quantity_HArray1OfColor) myColors; }; #endif