VISU::PMEDValForTime theValForTime,
VISU::PMEDField theField)
{
+ if(theValForTime->myIsFilled)
+ return;
theField->myDataSize = 0;
TInt aNbComp = theField->myNbComp;
VISU::TGeom2SubProfile::const_iterator anIter = theGeom2SubProfile.begin();
- for(; anIter != theGeom2SubProfile.end(); anIter++){
+ for(; anIter != theGeom2SubProfile.end(); anIter++) {
VISU::EGeometry aEGeom = anIter->first;
VISU::PMEDSubProfile aSubProfile(anIter->second);
aVMeshValue.reset(aMeshValue);
}
}
+ theValForTime->myIsFilled = true;
}
//---------------------------------------------------------------
TValForTimeImpl
::TValForTimeImpl():
myGaussPtsIDFilter(new TGaussPtsIDFilter()),
- myUnstructuredGridIDMapper(new TUnstructuredGridIDMapperImpl())
+ myUnstructuredGridIDMapper(new TUnstructuredGridIDMapperImpl()),
+ myIsFilled(false)
{}
const PMeshValue&
PUnstructuredGridIDMapperImpl myUnstructuredGridIDMapper; //!< Keep VTK representation for ordinary mesh and data
TGeom2Value myGeom2Value; //!< Keep value that is assigned to the mesh
TGeom2NbGauss myGeom2NbGauss; //!< Keep number of Gauss Points
+ bool myIsFilled; //!< Keep the status of the TValForTime (true - already filled, false - not filled);
TValForTimeImpl();
try {
myFileName = VISU::Storable::FindValue(theMap, "myName").toLatin1().data();
+#ifdef WIN32
+ for (int i = 0; i < myFileName.length(); i++)
+ {
+ if (myFileName[i] == ':')
+ myFileName[i] = '_';
+ }
+#endif
SetInitFileName(VISU::Storable::FindValue(theMap, "myInitFileName").toLatin1().data());
SALOMEDS::SObject_var aRefSObj, aTargetRefSObj;