<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<small><font face="Helvetica, Arial, sans-serif">Hi Hendrik,<br>
<br>
There are (or potentially will be) a number of options for using ITK
with CLI (Common Language Infrastructure) aka. dot net, aka C#, aka.
managed C++:<br>
<br>
1. At the moment, you can use use ITK with C++/CLI (an "extension" to
the C++ standard produced by Microsoft). This option is only available
for those machines running the CLR (eg. Windows). See the following
insight-users email for more details:
<a class="moz-txt-link-freetext" href="http://public.kitware.com/pipermail/insight-users/2006-October/019652.html">http://public.kitware.com/pipermail/insight-users/2006-October/019652.html</a>.<br>
<br>
2. There is talk of moving WrapITK from CableSWIG to pure SWIG (SWIG as
of version 1.3.18 supports C#). Currently WrapITK only supports Tcl,
Java and Python, so obviously support for C# will also need to be
added. I'm not sure if or when the move to pure SWIG will happen
(Gaetan?), but if it does happen and the C# wrappers are added to
WrapITK, I <i>suspect</i> (this is just hunch, requiring further
investigation) that the wrappers will execute on both CLR and Mono
machines (ie. Windows, Linux, Solaris, Mac OS X, Unix). The same be
achieved if CableSWIG was updated to a newer version of SWIG, again I'm
not sure if this will or has already happened...?<br>
<br>
3. There is talk that IronPython v1.1 (a Python implementation for the
CLI:
<a class="moz-txt-link-freetext" href="http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseName=1.1%20Alpha">http://www.codeplex.com/IronPython/Release/ProjectReleases.aspx?ReleaseName=1.1%20Alpha</a>)
will support the import of pre-compiled Python modules (ie. it could
import the existing WrapITK Python wrappers). I'm not sure if this will
happen or work, but something to keep your eye on maybe.<br>
<br>
4. Off and on for a while now, before some of the above options where
available/conceivable, I started creating some wrappers around common
ITK objects using C++/CLI (note: these run on Windows only due to the
dependency on the vcredist assemblies). I have used these wrappers in
both C# and IronPython applications. If others are interested, I could
probably make them available via the Insight Journal.<br>
<br>
HTH<br>
<br>
Cheers<br>
<br>
Dan<br>
<br>
<br>
Hendrik Belitz wrote:</font></small>
<blockquote
cite="mid15888380.319291168952311972.JavaMail.servlet@kundenserver"
type="cite">
<pre wrap=""><font face="Helvetica, Arial, sans-serif">Hi my fellow insightful people,
since there's a lot of .net/Mono development going on around me lately and I didn't find anything about that topic in the kitware wiki, I'll ask my question here.
Does anybody know of any kind of inofficial or third-party .net-assembly encapsulating at least a subset of the ITK classes?
Regards
Hendrik
_______________________________________________
Insight-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>
<a class="moz-txt-link-freetext" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a>
</font></pre>
</blockquote>
</body>
</html>