#include <HYDROData_LandCoverMap.h>
#include <HYDROData_StricklerTable.h>
-#include <AIS_Shape.hxx>
+#include <AIS_ColoredShape.hxx>
#include <Aspect_ColorScale.hxx>
-DEFINE_STANDARD_HANDLE( HYDROGUI_LandCoverMapPrs, AIS_Shape )
+DEFINE_STANDARD_HANDLE( HYDROGUI_LandCoverMapPrs, AIS_ColoredShape )
-class HYDROGUI_LandCoverMapPrs : public AIS_Shape
+class HYDROGUI_LandCoverMapPrs : public AIS_ColoredShape
{
public:
DEFINE_STANDARD_RTTI( HYDROGUI_LandCoverMapPrs );
const Handle(Prs3d_Presentation)& thePresentation,
const Standard_Integer theMode );
- virtual void ComputeSelection( const Handle(SelectMgr_Selection)& theSelection,
- const Standard_Integer theMode );
-
Quantity_Color GetColor( const QString& theStricklerType ) const;
+protected:
+ void UpdateColors();
+
private:
Handle(HYDROData_LandCoverMap) myLCMap;
Handle(Aspect_ColorScale) myColorScale;