X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_LandCoverMapPrs.h;h=dabe4526c0989af7cd63e034256eac0793e50f16;hb=343c9561e2046ef5cab4368dbac8c30e829b6b56;hp=7a930bc0f0b31cb248da9285900c81254e58c27c;hpb=c3968d49558df721702b1af4506670907c909c38;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_LandCoverMapPrs.h b/src/HYDROGUI/HYDROGUI_LandCoverMapPrs.h index 7a930bc0..dabe4526 100644 --- a/src/HYDROGUI/HYDROGUI_LandCoverMapPrs.h +++ b/src/HYDROGUI/HYDROGUI_LandCoverMapPrs.h @@ -21,12 +21,12 @@ #include #include -#include +#include #include -DEFINE_STANDARD_HANDLE( HYDROGUI_LandCoverMapPrs, AIS_InteractiveObject ) +DEFINE_STANDARD_HANDLE( HYDROGUI_LandCoverMapPrs, AIS_ColoredShape ) -class HYDROGUI_LandCoverMapPrs : public AIS_InteractiveObject +class HYDROGUI_LandCoverMapPrs : public AIS_ColoredShape { public: DEFINE_STANDARD_RTTI( HYDROGUI_LandCoverMapPrs ); @@ -47,11 +47,16 @@ public: const Handle(Prs3d_Presentation)& thePresentation, const Standard_Integer theMode ); - virtual void ComputeSelection( const Handle(SelectMgr_Selection)& theSelection, - const Standard_Integer theMode ); + virtual void HilightSelected( const Handle(PrsMgr_PresentationManager3d)& thePresentationManager, + const SelectMgr_SequenceOfOwner& theOwners ); Quantity_Color GetColor( const QString& theStricklerType ) const; + void UpdateColors(); + +protected: + void SetHilightAttributes( const Quantity_Color& theEdgesColor ); + private: Handle(HYDROData_LandCoverMap) myLCMap; Handle(Aspect_ColorScale) myColorScale;