X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_ExtractGeometry.cxx;fp=src%2FOBJECT%2FSMESH_ExtractGeometry.cxx;h=c7f59df94c43b71f33990db2e9d9e232d089656a;hp=84812a142956efa7e6aa2a66d8b87a6fa2a1d559;hb=57b43b4d010e2d0a1529d3c131bbb9d416e63258;hpb=06c42e9c9528a8d54fed01e266c949676fa0d929 diff --git a/src/OBJECT/SMESH_ExtractGeometry.cxx b/src/OBJECT/SMESH_ExtractGeometry.cxx index 84812a142..c7f59df94 100644 --- a/src/OBJECT/SMESH_ExtractGeometry.cxx +++ b/src/OBJECT/SMESH_ExtractGeometry.cxx @@ -20,14 +20,14 @@ #include "SMESH_ExtractGeometry.h" -#include "vtkCell.h" -#include "vtkCellData.h" -#include "vtkFloatArray.h" -#include "vtkIdList.h" -#include "vtkImplicitFunction.h" -#include "vtkObjectFactory.h" -#include "vtkPointData.h" -#include "vtkUnstructuredGrid.h" +#include +#include +#include +#include +#include +#include +#include +#include using namespace std; @@ -80,8 +80,8 @@ void SMESH_ExtractGeometry::Execute() vtkIdList *cellPts; vtkCell *cell; int numCellPts; - float *x; - float multiplier; + vtkFloatingPointType *x; + vtkFloatingPointType multiplier; vtkPoints *newPts; vtkIdList *newCellPts; vtkDataSet *input = this->GetInput(); @@ -156,7 +156,7 @@ void SMESH_ExtractGeometry::Execute() // To extract boundary cells, we have to create supplemental information if ( this->ExtractBoundaryCells ) { - float val; + vtkFloatingPointType val; newScalars = vtkFloatArray::New(); newScalars->SetNumberOfValues(numPts);