X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FInterface%2FImage.hxx;h=dfabc0ab6ecdb1503981e4ac729d1dd619b6f23b;hb=4f9005fe71854d7cff6ab68e48627989a6d1fbc8;hp=2f5f1d59a5071adee381adc82ef18361ad95d9fd;hpb=d1d816d1eaf980d5cd266798b8f7a0bbb089a383;p=cpPlugins.git diff --git a/lib/cpPlugins/Interface/Image.hxx b/lib/cpPlugins/Interface/Image.hxx index 2f5f1d5..dfabc0a 100644 --- a/lib/cpPlugins/Interface/Image.hxx +++ b/lib/cpPlugins/Interface/Image.hxx @@ -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 );