Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refs #740 (p.1 + p.2)
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_ShapeLandCoverMap.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx
b/src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx
index 450a195e7525a4e0e580cdede2acfca2d3d4757f..0a6b59abe3394840719ac12413ed4943f8e4c2c0 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx
+++ b/
src/HYDROGUI/HYDROGUI_ShapeLandCoverMap.cxx
@@
-41,6
+41,7
@@
HYDROGUI_ShapeLandCoverMap::HYDROGUI_ShapeLandCoverMap( HYDROGUI_OCCDisplayer* t
myDisplayer( theDisplayer ),
myIsScalarMapMode( theIsScalarMode )
{
myDisplayer( theDisplayer ),
myIsScalarMapMode( theIsScalarMode )
{
+ setFillingColor( QColor(), false, false );
}
HYDROGUI_ShapeLandCoverMap::~HYDROGUI_ShapeLandCoverMap()
}
HYDROGUI_ShapeLandCoverMap::~HYDROGUI_ShapeLandCoverMap()
@@
-66,6
+67,11
@@
void HYDROGUI_ShapeLandCoverMap::update( bool theIsUpdateViewer, bool isDeactiva
HYDROGUI_Shape::update( theIsUpdateViewer, isDeactivateSelection );
}
HYDROGUI_Shape::update( theIsUpdateViewer, isDeactivateSelection );
}
+bool HYDROGUI_ShapeLandCoverMap::isScalarMapModeEnabled() const
+{
+ return myIsScalarMapMode;
+}
+
void HYDROGUI_ShapeLandCoverMap::setScalarMapModeEnabled( const bool theIsToEnable )
{
myIsScalarMapMode = theIsToEnable;
void HYDROGUI_ShapeLandCoverMap::setScalarMapModeEnabled( const bool theIsToEnable )
{
myIsScalarMapMode = theIsToEnable;