mimage->SetDimensions(bbGetInputIn()->GetDimensions());
mimage->SetExtent(bbGetInputIn()->GetExtent());
mimage->SetOrigin(bbGetInputIn()->GetOrigin());
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
mimage->SetScalarType( outputformat );
mimage->AllocateScalars();
+#else
+ mimage->AllocateScalars( outputformat , 1);
+#endif
int sizeLstPointR = bbGetInputlstPointR().size();
int iAxe,sizeAxe = bbGetInputlstPointX().size();