VISU_Convertor::TOutput *anOutput;
switch(myType){
case VISU::TENTITY :
- //jfa IPAL9284:anOutput = myResult->GetInput()->GetMeshOnEntity(myMeshName,myEntity);
anOutput = myResult->GetInput()->GetMeshOnEntity(myMeshName,(VISU::TEntity)myEntity);//jfa IPAL9284
aComment.sprintf("myComment=ENTITY;myType=%d;myMeshName=%s;myId=%d",
VISU::TENTITY,myMeshName.c_str(),myEntity);
+ //pkv f
+ myMeshPL->SetIDMapper(myResult->GetInput()-> // i.e. the VISU_Convertor
+ GetMeshOnEntityIDMapper(myMeshName,(VISU::TEntity)myEntity));
+ //pkv t
break;
case VISU::TFAMILY :
- //jfa IPAL9284:anOutput = myResult->GetInput()->GetMeshOnEntity(myMeshName,myEntity,mySubMeshName);
- anOutput = myResult->GetInput()->GetFamilyOnEntity(myMeshName,(VISU::TEntity)myEntity,mySubMeshName);//jfa IPAL9284
+ anOutput = myResult->GetInput()->GetFamilyOnEntity(myMeshName,(VISU::TEntity)myEntity,mySubMeshName);
aComment.sprintf("myComment=FAMILY;myType=%d;myMeshName=%s;myEntityId=%d;myName=%s",
VISU::TFAMILY,myMeshName.c_str(),myEntity,mySubMeshName.c_str());
+ //pkv f
+ myMeshPL->SetIDMapper(myResult->GetInput()-> // i.e. the VISU_Convertor
+ GetFamilyOnEntityIDMapper(myMeshName,(VISU::TEntity)myEntity,mySubMeshName));
+ //pkv t
+
break;
case VISU::TGROUP :
anOutput = myResult->GetInput()->GetMeshOnGroup(myMeshName,mySubMeshName);
aComment.sprintf("myComment=GROUP;myType=%d;myMeshName=%s;myName=%s",
VISU::TGROUP,myMeshName.c_str(),mySubMeshName.c_str());
+
+ //pkv f
+ myMeshPL->SetIDMapper(myResult->GetInput()-> // i.e. the VISU_Convertor
+ GetMeshOnGroupIDMapper(myMeshName,mySubMeshName));
+ //pkv t
break;
}
if(anOutput == NULL) throw std::runtime_error("Mesh_i::Build - anOutput == NULL !!!");
+ //
myMeshPL->SetInput(anOutput);
- //pkv f
- myMeshPL->SetIDMapper(myResult->GetInput()-> // i.e. the VISU_Convertor
- GetMeshOnEntityIDMapper(myMeshName,(VISU::TEntity)myEntity));
- //pkv t
myMeshPL->Build();
+ //
if(!theRestoring) { //Setting IOR on the label
myMeshPL->Init();
string aResultEntry = myResult->GetEntry();