<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks for the info. I was just searching the 
vtkDonNetWrapper</FONT></DIV>
<DIV><FONT face=Arial size=2>for that specific function 
(SetParentID).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Only the GUI is in C# in my case, but the 
application logic is</FONT></DIV>
<DIV><FONT face=Arial size=2>all in unmanaged C++. So, really all what I need is 
to know how</FONT></DIV>
<DIV><FONT face=Arial size=2>to pass a C# window to an unmanaged 
function.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>If complete wrappers do exist with plans to update 
them for</FONT></DIV>
<DIV><FONT face=Arial size=2>future VTK releases, that would be great. 
Otherwise, does</FONT></DIV>
<DIV><FONT face=Arial size=2>anyone know how to pass a C# window to an unmanaged 
C++</FONT></DIV>
<DIV><FONT face=Arial size=2>code so that VTK could render in that 
window?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>- Asad</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>
<DIV class=Section1>
<P style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: green; FONT-FAMILY: Arial"><SPAN 
style="mso-spacerun: yes">&nbsp;</SPAN><BR></SPAN><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Arial">Asad Abu-Tarif, Ph.D., 
PMP <BR>Research Engineer<?xml:namespace prefix = o ns = 
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P style="MARGIN: 0in 0in 0pt"><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: green; FONT-FAMILY: Arial"><BR></SPAN><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">AutoQuant Imaging, 
Inc. <BR>877 25th. Street <BR>Watervliet, NY 12189 <BR>USA <BR>Email: 
asada@aqi.com <BR>Tel: 518-276-2264</SPAN><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: green; FONT-FAMILY: Arial"> <BR></SPAN><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue; FONT-FAMILY: Arial"><A 
href="http://www.aqi.com/">http://www.aqi.com/</A></SPAN><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: green; FONT-FAMILY: Arial"><o:p></o:p></SPAN></P></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Pedram Rezaei" &lt;</FONT><A 
href="mailto:pr@marinecomputing.com"><FONT face=Arial 
size=2>pr@marinecomputing.com</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>To: &lt;</FONT><A 
href="mailto:vtkusers@vtk.org"><FONT face=Arial 
size=2>vtkusers@vtk.org</FONT></A><FONT face=Arial size=2>&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2>Sent: Friday, December 05, 2003 10:28 
AM</FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: RE: [vtkusers] VTK with 
C#</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV><FONT face=Arial 
size=2>Hi<BR><BR>Unfortunately the C# wrapper provided by<BR></FONT><A 
href="http://herakles.zcu.cz/research/vtk.net/index.php"><FONT face=Arial 
size=2>http://herakles.zcu.cz/research/vtk.net/index.php</FONT></A><FONT 
face=Arial size=2> is poor and it does not<BR>wrap any of the methods that have 
a void pointer. (Such as the very<BR>important SetParentID method of the 
vtkRenderer.) <BR>I've spoken to the developer of vtkDotNetWrapper and he has no 
plans to work<BR>on that project any more. vtkDotNetWrapper.dll was compiled for 
.Net<BR>framework version 1.0 and you cannot use it with VTK 4.2.3. (It only 
works<BR>with 4.2.2). I've tried compiling the source code for .Net 1.1 and VTK 
4.2.3<BR>but after 1 week of hassle I gave up.<BR><BR>I am now trying to write 
my own wrapper. <BR><BR>Regards<BR><BR>Pedram<BR><BR><BR><BR>-----Original 
Message-----<BR>From: </FONT><A href="mailto:vtkusers-admin@vtk.org"><FONT 
face=Arial size=2>vtkusers-admin@vtk.org</FONT></A><FONT face=Arial size=2> 
[mailto:vtkusers-admin@vtk.org] On Behalf Of de<BR>Boer Ingo<BR>Sent: 05 
December 2003 15:09<BR>To: Asad Abu-Tarif; </FONT><A 
href="mailto:vtkusers@vtk.org"><FONT face=Arial 
size=2>vtkusers@vtk.org</FONT></A><BR><FONT face=Arial size=2>Subject: AW: 
[vtkusers] VTK with C#<BR><BR><BR>Hi,<BR><BR>&gt; Can VTK render in windows 
created with C#?<BR>&gt; Are there any examples for that?<BR><BR>you could 
_also_ take a look at<BR></FONT><A 
href="http://herakles.zcu.cz/research/vtk.net/index.php"><FONT face=Arial 
size=2>http://herakles.zcu.cz/research/vtk.net/index.php</FONT></A><BR><BR><FONT 
face=Arial size=2>I have posted it some mails before :(<BR><BR>greets<BR>&nbsp; 
Ingo<BR><BR>---<BR>Dr.-Ing. Ingo H. de Boer<BR><BR>Polytec GmbH<BR>Polytec-Platz 
1-7, 76337 Waldbronn, Germany<BR>phone: ++49 7243 604 106<BR>fax&nbsp; : ++49 
7243 604 255 _______________________________________________<BR>This is the 
private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ 
at:<BR>&lt;</FONT><A href="http://public.kitware.com/cgi-bin/vtkfaq"><FONT 
face=Arial size=2>http://public.kitware.com/cgi-bin/vtkfaq</FONT></A><FONT 
face=Arial size=2>&gt;<BR>Follow this link to 
subscribe/unsubscribe:<BR></FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face=Arial 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A><BR><BR><FONT 
face=Arial size=2>_______________________________________________<BR>This is the 
private VTK discussion list. <BR>Please keep messages on-topic. Check the FAQ 
at: &lt;</FONT><A href="http://public.kitware.com/cgi-bin/vtkfaq"><FONT 
face=Arial size=2>http://public.kitware.com/cgi-bin/vtkfaq</FONT></A><FONT 
face=Arial size=2>&gt;<BR>Follow this link to 
subscribe/unsubscribe:<BR></FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"><FONT face=Arial 
size=2>http://www.vtk.org/mailman/listinfo/vtkusers</FONT></A></BODY></HTML>