X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Shape.h;h=007c3e52d20cecdbae30b027f805739d99686b51;hb=5cae7e874afd2fc1b6f61023e8ebd33a933db3c7;hp=6757079efce6467b2722cedd1b44d24ffb7273ef;hpb=ca0e09c1e1bb19c9855e2f3839243da36097ee1c;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Shape.h b/src/HYDROGUI/HYDROGUI_Shape.h index 6757079e..007c3e52 100644 --- a/src/HYDROGUI/HYDROGUI_Shape.h +++ b/src/HYDROGUI/HYDROGUI_Shape.h @@ -26,7 +26,7 @@ #include #include -#include +#include #include #include @@ -38,7 +38,7 @@ class HYDROGUI_Shape { public: HYDROGUI_Shape( const Handle(AIS_InteractiveContext)& theContext, - const Handle(HYDROData_Object)& theObject ); + const Handle(HYDROData_Entity)& theObject ); ~HYDROGUI_Shape(); public: @@ -48,7 +48,7 @@ public: virtual void highlight( bool theIsHighlight ); virtual bool isHighlighted() const; - Handle(HYDROData_Object) getObject() const { return myObject; } + Handle(HYDROData_Entity) getObject() const { return myObject; } virtual void update( const bool theIsUpdateViewer = true ); @@ -99,14 +99,14 @@ private: static double getQuantityColorVal( const int theColorVal ); void colorShapeBorder( const QColor& theColor ); - static QString generateTextureFileName( const Handle(HYDROData_Object)& theImageObj ); + static QString generateTextureFileName( const Handle(HYDROData_Entity)& theImageObj ); void removeTextureFile() const; static QImage reduceTexture( const QImage& theImage, const int theSizeLimit ); private: Handle(AIS_InteractiveContext) myContext; - Handle(HYDROData_Object) myObject; + Handle(HYDROData_Entity) myObject; Handle(AIS_TexturedShape) myShape; bool myIsToUpdate;