if(img != NULL){
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
imageshiftscale->SetInput( img );
+#else
+ imageshiftscale->SetInputData( img );
+#endif
imageshiftscale->SetOutputScalarTypeToUnsignedChar();
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
imageactor->SetInput( imageshiftscale->GetOutput() );
+#else
+ imageshiftscale->Update();
+ imageactor->SetInputData( imageshiftscale->GetOutput() );
+#endif
if (transform!=NULL){
imageactor->SetUserTransform( transform );
} // transform