]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To support data reading for quadric mesh elements
authorapo <apo@opencascade.com>
Tue, 2 Aug 2005 10:25:27 +0000 (10:25 +0000)
committerapo <apo@opencascade.com>
Tue, 2 Aug 2005 10:25:27 +0000 (10:25 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx
src/CONVERTOR/VISU_MedConvertor.hxx

index cf46fa0c6e11b9c2c28e5cbc1c6fa12b21d0b735..fb77179933125c17ddb25a0532201ff7db239b02 100644 (file)
@@ -153,6 +153,7 @@ namespace
 
     PMEDSubProfile aSubProfile(new TMEDSubProfile());
     aSubProfile->myGeom = aVGeom;
+    aSubProfile->myMGeom = theMGeom;
     aSubProfile->myStatus = eAddAll;
 
     MED::TGeom2Size::const_iterator aTimeStampIter = theGeom2Size.find(theMGeom);
@@ -1319,7 +1320,7 @@ VISU_MedConvertor
       TMeshValue& aVMeshValue = theValForTime->GetMeshValue(aVGeom);
       aVMeshValue.Init(aNbElem,aNbGauss,aNbComp);
 
-      MED::EGeometrieElement aMGeom = VTKGeomToMED(aVGeom);
+      MED::EGeometrieElement aMGeom = aSubProfile->myMGeom;
       const MED::TMeshValue& aMMeshValue = aTimeVal.GetMeshValue(aMGeom);
       for(TInt iElem = 0; iElem < aNbElem; iElem++){
        TValueSliceArr aVValueSliceArr = aVMeshValue.GetGaussValueSliceArr(iElem);
index 87cf1c85759bf75142c4c47f9df199da5cb12fa9..f97575f8af8eedc7ab6128584f9a44569f457149 100644 (file)
@@ -30,6 +30,7 @@ namespace VISU
   struct TMEDSubProfile: virtual TSubProfileImpl
   {
     MED::PProfileInfo myProfileInfo;
+    MED::EGeometrieElement myMGeom;
   };
   typedef SharedPtr<TMEDSubProfile> PMEDSubProfile;