]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Interface/Image.hxx
Widget integration (step 4/6)... Testing on windows.
[cpPlugins.git] / lib / cpPlugins / Interface / Image.hxx
index 2f5f1d59a5071adee381adc82ef18361ad95d9fd..dfabc0ab6ecdb1503981e4ac729d1dd619b6f23b 100644 (file)
@@ -53,6 +53,12 @@ SetITK( itk::Object* object )
 
   } // fi
 
+  // --------- TODO ---------------
+  typename I::DirectionType norm_dir;
+  norm_dir.SetIdentity( );
+  image->SetDirection( norm_dir );
+  // --------- TODO ---------------
+
   // Connect it to VTK
   cpPlugins_VTKImage_Demangle_AllDims( I, char, image );
   else cpPlugins_VTKImage_Demangle_AllDims( I, short, image );