[vtkusers] Migrating mixed unmanaged C++/C# project from VTK 5.4 to VTK 6.0
Julien Jomier
julien.jomier at kitware.com
Tue Sep 23 14:13:10 EDT 2014
Hi Kicki,
The ActiViz source code should be available in a couple of weeks. You
are correct that the pre-compiled binaries are available with our
support contract.
Julien
On 23/09/2014 16:35, Kicki Frisch wrote:
> I have a project relying on VTK 5.6 which I want to migrate to VTK 6.0.
>
> The core algorithms are written I C++. The unmanaged C++ classes are
> wrapped and called from C#/.NET code. Our .NET wrapped interface uses
> VTK classes as parameters and return values from methods.
>
> In VTK 5.4, the class libraries containing the wrapped managed .NET
> classes for the VTK classes. Therefore, the .NET wrapped VTK classes can
> be used in our own .NET wrappers of our unmanaged C++ classes.
>
> However, if I understand it correctly, as of VTK 5.8, the source code is
> no longer available for download and the .NET wrappers only available as
> pre-compiled binaries.
>
> Is that correct?
>
> If so, I’m not entirely sure how to proceed, since moving to VTK 6.0
> breaks the interface between our C++ back-end and the .NET front-end.
>
> Here’s an example of a wrapper class:
>
> publicrefclassIcrImageAccumulate
>
> {
>
> public:
>
> // const char *GetClassName ();
>
> System::String^ GetClassName();
>
> virtualSystem::String^ ToString() override;
>
> voidCalculate(Kitware.VTK.vtkImageData^ image); // ßproblem, since I
> don’t have access to the managed VTK source code
>
> // …
>
> }
>
> Best regards,
>
> Kicki.
>
>
> The Institute of Cancer Research: Royal Cancer Hospital, a charitable
> Company Limited by Guarantee, Registered in England under Company No.
> 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.
>
> This e-mail message is confidential and for use by the addressee only.
> If the message is received by anyone other than the addressee, please
> return the message to the sender by replying to it and then delete the
> message from your computer and network.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list