[Insight-users] ITK 4.2.1 C#

Dan Mueller dan.muel at gmail.com
Wed Nov 21 15:33:19 EST 2012


Hi Sam,

Unfortunately WrapITK does not currently support C# / .NET, so it is
not possible to use basic ITK with C# / .NET. Currently the only
option for out-of-the-box wrapping is SimpleITK (which you have
indicated in an email off list is not acceptable for you).

You have two options, both which require significant work:

1. Add support to WrapITK for C# / .NET. You could use the wrapping
mechanism from SimpleITK (ie. the C# / .NET CMake files) to get you
started.

2. Manually wrap the specific functions you need. This was the
approach I took on a number of occasions. To do this you need to write
a header file and implementation file in C++ which encapsulates your
desired ITK functionality, then you can use SWIG to generate a .NET
wrapper.

Good luck.

Regards, Dan

On 22 November 2012 03:44, Sam <sistephan at gmail.com> wrote:
> Hello,
>
> Does ITK 4.2.1 have support to wrap ITK in C#?
>
> If not, is there a way I can wrap ITK into C# 64bit manually?
>
> Thanks,
> Sam
>
>
>
> --
> View this message in context: http://itk-insight-users.2283740.n2.nabble.com/ITK-4-1-C-tp7383610p7581713.html
> Sent from the ITK Insight Users mailing list archive at Nabble.com.
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list