]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To introduce mapping of mesh elements
authorapo <apo@opencascade.com>
Tue, 20 Sep 2005 13:16:02 +0000 (13:16 +0000)
committerapo <apo@opencascade.com>
Tue, 20 Sep 2005 13:16:02 +0000 (13:16 +0000)
src/VISU_I/VISU_CorbaMedConvertor.cxx

index 645c5059e970eaa4a3237f10d41dd0a1d6353599..94e84d6508241377a49f66f327891ca344c14496 100644 (file)
@@ -330,6 +330,7 @@ VISU_MEDFieldConvertor::Build()
   CORBA::String_var aFieldName = myField->getName();
 
   PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh());
+  aMesh->myNamedPointCoords(new TNamedPointCoords());
   aMesh->myNbPoints = aMEDMesh->getNumberOfNodes();
   aMesh->myDim = aMEDMesh->getSpaceDimension();
   aMesh->myName = aMeshName.in();
@@ -518,6 +519,7 @@ VISU_MEDConvertor::Build(SALOME_MED::MED_ptr theMED)
 
       PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh());
       SALOME_MED::MESH_var aMEDMesh = boost::get<0>(aMeshByNameRet);
+      aMesh->myNamedPointCoords(new TNamedPointCoords());
       aMesh->myNbPoints = aMEDMesh->getNumberOfNodes();
       aMesh->myDim = aMEDMesh->getSpaceDimension();
       aMesh->myName = aMeshName.in();
@@ -799,6 +801,7 @@ VISU_MEDConvertor::Build(SALOMEDS::ChildIterator_ptr theTimeStampIterator)
     CORBA::String_var aFieldName = aMEDField->getName();
 
     PCMesh aMesh = myMeshMap[aMeshName.in()](new TCMesh());
+    aMesh->myNamedPointCoords(new TNamedPointCoords());
     aMesh->myNbPoints = aMEDMesh->getNumberOfNodes();
     aMesh->myDim = aMEDMesh->getSpaceDimension();
     aMesh->myName = aMeshName.in();