[Insight-users] c++.net and ITK
Dan Mueller
dan.mueller at philips.com
Wed Apr 9 04:44:31 EDT 2008
Hi Jalal,
The reason using ITK with Windows Forms is not straight forward is because
the two use different technologies: ITK based on highly templated C++,
whereas Windows Forms requires managed code (either C# or C++/CLI).
Melding these two technologies is the issue. Building ITK with SHARED_LIBS
ON does not automatically resolve this.
If you do not want to create your own C++/CLI project which uses native
ITK, you may consider using existing managed wrappers of ITK and VTK.
See:
http://insight-journal.org/midas/handle.php?handle=1926/501
http://vtkdotnet.sourceforge.net/
Otherwise you could choose to use a GUI toolkit designed for use with C++.
See:
http://www.itk.org/Wiki/Itk_Gui_Toolkits
HTH
Cheers, Dan
"jalal sadeghi" <jalal.sadeghy at gmail.com> wrote on 04/09/2008 10:22:18 AM:
> hi Dan
> thanks for your answers.and another qusetion and the main question?
> whats the problem that using ITK with windows form is such
complicated?
> may changing ITK_SHARED_LIB to On solve the problem?
> I am developing an application that i need to use windows from
> with native code and vice versa(ITK ,VTK).and write itk in
> another class library complicate the project.
>
> thanks
More information about the Insight-users
mailing list