#include <HYDROGUI_Shape.h>
class HYDROGUI_OCCDisplayer;
-class Handle_HYDROData_LandCoverMap;
+class HYDROData_LandCoverMap;
class HYDROGUI_ShapeLandCoverMap : public HYDROGUI_Shape
{
public:
HYDROGUI_ShapeLandCoverMap( HYDROGUI_OCCDisplayer* theDisplayer,
const Handle(AIS_InteractiveContext)& theContext,
- const Handle_HYDROData_LandCoverMap& theLandCoverMap,
+ const Handle(HYDROData_LandCoverMap)& theLandCoverMap,
const int theZLayer = -1,
const bool theIsScalarMode = false );
virtual ~HYDROGUI_ShapeLandCoverMap();
virtual void setVisible( const bool theState,
const bool theIsUpdateViewer = true );
+ bool isScalarMapModeEnabled() const;
/**
* Enable/disable scalar map coloring mode.
* @param theIsToEnable if true - scalar map coloring mode willbe enbaled, if false - disabled
protected:
virtual void displayShape( const bool theIsUpdateViewer );
- virtual Handle_AIS_InteractiveObject createShape() const;
+ virtual Handle(AIS_InteractiveObject) createShape() const;
private:
HYDROGUI_OCCDisplayer* myDisplayer;