]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To provide backward compatibility WP1_2_3_08-12-2006_medwrapper_data_loading
authorapo <apo@opencascade.com>
Fri, 8 Dec 2006 12:26:18 +0000 (12:26 +0000)
committerapo <apo@opencascade.com>
Fri, 8 Dec 2006 12:26:18 +0000 (12:26 +0000)
src/CONVERTOR/VISU_MedConvertor.cxx

index de8e9b30c4ed25111425c04abdbe6cba21b354fa..d6789c62183305218eb18fde3f6ec8cffa6dfd0f 100644 (file)
@@ -1369,11 +1369,10 @@ BuildTimeStampMinMax(MED::SharedPtr<TimeStampValueType> theTimeStampValue,
                     TInt theNbComp,
                     TInt theNbComp2)
 {
-  
-  const typename TimeStampValueType::TGeom2Value& aGeom2Value = theTimeStampValue->myGeom2Value;
-  typename TimeStampValueType::TGeom2Value::const_iterator anIter = aGeom2Value.begin();
+  const typename TimeStampValueType::TTGeom2Value& aGeom2Value = theTimeStampValue->myGeom2Value;
+  typename TimeStampValueType::TTGeom2Value::const_iterator anIter = aGeom2Value.begin();
   for(; anIter != aGeom2Value.end(); anIter++){
-    const typename TimeStampValueType::TMeshValue& aMMeshValue = anIter->second;
+    const typename TimeStampValueType::TTMeshValue& aMMeshValue = anIter->second;
     MED::EGeometrieElement aMGeom = anIter->first;
                  
     TInt aNbElem = aMMeshValue.myNbElem;
@@ -1391,9 +1390,9 @@ BuildTimeStampMinMax(MED::SharedPtr<TimeStampValueType> theTimeStampValue,
                  
     // To calculate min/max per components
     for(TInt iElem = 0; iElem < aNbElem; iElem++){
-      typename TimeStampValueType::TMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetCompValueSliceArr(iElem);
+      typename TimeStampValueType::TTMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetCompValueSliceArr(iElem);
       for(TInt iComp = 0; iComp < theNbComp; iComp++){
-       const typename TimeStampValueType::TMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iComp];
+       const typename TimeStampValueType::TTMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iComp];
        TMinMax& aMinMax = theMinMaxArr[iComp+1];
        vtkFloatingPointType& aMin = aMinMax.first;
        vtkFloatingPointType& aMax = aMinMax.second;
@@ -1410,9 +1409,9 @@ BuildTimeStampMinMax(MED::SharedPtr<TimeStampValueType> theTimeStampValue,
     vtkFloatingPointType& aMin = aMinMax.first;
     vtkFloatingPointType& aMax = aMinMax.second;
     for(TInt iElem = 0; iElem < aNbElem; iElem++){
-      typename TimeStampValueType::TMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetGaussValueSliceArr(iElem);
+      typename TimeStampValueType::TTMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetGaussValueSliceArr(iElem);
       for(TInt iGauss = 0; iGauss < aNbGauss; iGauss++){
-       const typename TimeStampValueType::TMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iGauss];
+       const typename TimeStampValueType::TTMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iGauss];
        vtkFloatingPointType aValue = 0.0;
        for(TInt iComp = 0; iComp < theNbComp2; iComp++){
          vtkFloatingPointType aVal = aMValueSlice[iComp];
@@ -2667,14 +2666,14 @@ FillValForTime(MED::SharedPtr<TimeStampValueType> theTimeStampValue,
       aVMeshValue.Init(aNbElem,aNbGauss,aNbComp);
 
       MED::EGeometrieElement aMGeom = aSubProfile->myMGeom;
-      const typename TimeStampValueType::TMeshValue& aMMeshValue = theTimeStampValue->GetMeshValue(aMGeom);
+      const typename TimeStampValueType::TTMeshValue& aMMeshValue = theTimeStampValue->GetMeshValue(aMGeom);
       for(TInt iElem = 0; iElem < aNbElem; iElem++){
        TValueSliceArr aVValueSliceArr = aVMeshValue.GetGaussValueSliceArr(iElem);
-       typename TimeStampValueType::TMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetGaussValueSliceArr(iElem);
+       typename TimeStampValueType::TTMeshValue::TCValueSliceArr aMValueSliceArr = aMMeshValue.GetGaussValueSliceArr(iElem);
        ADDMSG(MYVALUEDEBUG,"{");
        for(TInt iGauss = 0; iGauss < aNbGauss; iGauss++){
          TValueSlice& aVValueSlice = aVValueSliceArr[iGauss];
-         const typename TimeStampValueType::TMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iGauss];
+         const typename TimeStampValueType::TTMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[iGauss];
          for(TInt iComp = 0; iComp < aNbComp; iComp++){
            aVValueSlice[iComp] = aMValueSlice[iComp];
            ADDMSG(MYVALUEDEBUG,aVValueSlice[iComp]<<" ");