Salome HOME
Porting to VTK 6.
[modules/visu.git] / src / CONVERTOR / VISU_Structures_impl.cxx
index 6143ef92c823dca01b0a0fca6170abcd302fe708..2d36ef986d1dffe050558582bcef094f4b1e346b 100644 (file)
@@ -259,7 +259,7 @@ namespace VISU
     size_t aPointsSize = 3*theNbOfPoints*sizeof(VISU::TCoord);
     size_t aConnectivityAndTypesSize = theCellsSize*sizeof(vtkIdType);
     size_t aLocationsSize = theNbOfCells*sizeof(int);
-    vtkFloatingPointType aNbCellsPerPoint = theCellsSize / theNbOfCells - 1;
+    double aNbCellsPerPoint = theCellsSize / theNbOfCells - 1;
     size_t aLinksSize = theNbOfPoints * (vtkIdType(sizeof(vtkIdType)*aNbCellsPerPoint) + sizeof(short));
     if(!theComputeLinks)
       aLinksSize = 0;
@@ -556,7 +556,7 @@ namespace VISU
     return myNamedPointCoords->GetVTKID(theID);
   }
 
-  vtkFloatingPointType*
+  double*
   TProfileImpl
   ::GetNodeCoord(vtkIdType theObjID)
   {
@@ -656,7 +656,7 @@ namespace VISU
     return myIDMapper->GetNodeVTKID(theID);
   }
 
-  vtkFloatingPointType*
+  double*
   TUnstructuredGridIDMapperImpl
   ::GetNodeCoord(vtkIdType theObjID)
   {
@@ -772,7 +772,7 @@ namespace VISU
     return myIDMapper->GetNodeVTKID(theID);
   }
 
-  vtkFloatingPointType*
+  double*
   TPolyDataIDMapperImpl
   ::GetNodeCoord(vtkIdType theObjID)
   {