Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / VISU_I / VISU_Evolution.cxx
index c5fd236d518dbc006dee1e27f079dc1449b0c919..3908eaf264c99384552e4eb891901bddf2d40891 100644 (file)
@@ -63,19 +63,19 @@ template<int EDataType> bool ProcessValForTime( VISU::PValForTimeImpl theValForT
     typename TMeshValue::TCValueSliceArr aMValueSliceArr = aMeshValue->GetCompValueSliceArr( iElem );
     VISU::Comp2Value& aComp2Value = theElem2Comp2Value[ iElem ];
 
-    vtkFloatingPointType& aModulusValue = aComp2Value[ 0 ];
+    double& aModulusValue = aComp2Value[ 0 ];
     aModulusValue = 0.0;
 
     for( vtkIdType iComp = 0; iComp < aNbComp; iComp++ )
     {
       const typename TMeshValue::TCValueSlice& aMValueSlice = aMValueSliceArr[ iComp ];
 
-      vtkFloatingPointType& aValue = aComp2Value[ iComp+1 ];
+      double& aValue = aComp2Value[ iComp+1 ];
       aValue = 0.0;
 
       for(vtkIdType iGauss = 0; iGauss < aNbGauss; iGauss++)
       {
-        const vtkFloatingPointType& aVal = aMValueSlice[iGauss];
+        const double& aVal = aMValueSlice[iGauss];
         aValue += aVal;
       }
       if( aNbGauss != 0 )
@@ -344,7 +344,7 @@ bool VISU_Evolution::extractData( int thePointId,
       VISU::Comp2Value::const_iterator it3 = aComp2Value.find( theComponentId );
       if( it3 != aComp2Value.end() )
       {
-        vtkFloatingPointType aValue = it3.value();
+        double aValue = it3.value();
         theTimeStampValueList.append( aValue );
       }
     }
@@ -450,7 +450,7 @@ bool VISU_Evolution::_showEvolution()
   VISU::TimeStampValueListIterator it( aTimeStampValueList );
   while( it.hasNext() )
   {
-    vtkFloatingPointType aValue = it.next();
+    double aValue = it.next();
 
     VISU::TimeStampData aTimeStampData = myTimeStampDataList[ aTimeStamp ];
     double aTimeValue = aTimeStampData.first;