FYI, I updated the pull request, to fix compile errors on windows and
linux. The code is simpler now and builds on the three main platforms.
(Linux: gcc 4.8, Mac: gcc 4.2.1, Windows: VS 2010)

What regards 4 and 5:

The change that I proposed for 4 will not work on pre-C++11 compilers, and
I did not find a way to simulate the decltype solution even with Boost.

So, I propose a simpler solution that would solve 4 and 5 as well. It's a
macro like AccessByItk, but which does not convert the MITK image to ITK,
just passes it to the templated access function as it is. The image could
then be converted to ITK from the function by ImageToItk, using the
template parameters.

I can implement this either in MITK or NifTK.

Could you give a quick answer if you are interested in this solution?

If not, I will do it in NifTK, so that the fork does not diverge to much
from upstream.

Cheers,
Miklos
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to