//---------------------------------------------------------------
-VISU::Storable*
+VISU::Storable*
VISU::ScalarMapOnDeformedShape_i
::Restore(SALOMEDS::Study_ptr theStudy,
const Storable::TRestoringMap& theMap)
QString aFieldName = VISU::Storable::FindValue(theMap,"myScalarFieldName");
int aTimeStampNumber = VISU::Storable::FindValue(theMap,"myScalarFieldName").toInt();
- SetScalarField(aMeshName,
- aFieldName,
- aTimeStampNumber,
- anEntity);
-
if(!TSuperClass::Restore(theStudy, theMap))
return NULL;
-
+
+ SetScalarField(aMeshName,
+ aFieldName,
+ aTimeStampNumber,
+ anEntity);
+
SetScale(VISU::Storable::FindValue(theMap,"myFactor").toDouble());
myIsColored = VISU::Storable::FindValue(theMap,"myIsColored").toInt();
myColor.R = VISU::Storable::FindValue(theMap,"myColor.R").toDouble();
myColor.G = VISU::Storable::FindValue(theMap,"myColor.G").toDouble();
myColor.B = VISU::Storable::FindValue(theMap,"myColor.B").toDouble();
-
+
return this;
}