<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear vtkUsers,</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I&#8217;ve read Jochen Kling&#8217;s posts on this list as well as his pages on the Wiki (http://www.vtk.org/Wiki/VTK/Examples/CSharp). First let me thank him for his contribution.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I&#8217;ve been using vtk for quite a long time now, primarily in pure C&#43;&#43;, then embedding it into a CSharp/.NET application (using my own hand-coded wrapper in managed C&#43;&#43;/CLI). It&#8217;s quite a nightmare to use and I would say and I&#8217;m very happy
 to discover the open source version of Activiz.NET.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Now comes my question: is there a simple way two wrap unofficial vtk sub classes and access it from C# ?</p>
<p class="MsoNormal">For example:</p>
<p class="MsoNormal">I derived a vtkImagePlaneWidget into a, say, vtkOrientedImagePlaneWidget. The derived classes overrides some protected methods that are obiously not wrapped in activiz.net, and the code is in pure C&#43;&#43;.</p>
<p class="MsoNormal">How can I access this new widget from CSharp/ActiViz ?</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Will there be a tutorial explaning how to manually wrap (using gccxml/mummy/cable_swig or what have you) user coded vtk subclasses.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">I already tried to use gccxml/mummy and generate cswig wrappers for my classes, but when it comes to using it from csharp, I don&#8217;t get the expected results. I&#8217;m not quite sure, but it seems I now have a conflict between vtk symbols located
 in the Kitware.VTK.Unmanaged.dll and the one I linked in my own Local.VTK.Unmanaged.dll. Any advice is welcome&#8230;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Best regards,</p>
<p class="MsoNormal"><span style="color:#1F497D">--</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Jean-Michel.</span><span lang="FR" style="color:#1F497D"></span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified
 that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.<br>
</font>
</body>
</html>