<div class="gmail_quote">On Fri, Feb 26, 2010 at 6:32 AM, Giancarlo Amati <span dir="ltr"><<a href="mailto:ilferraresebono@hotmail.it" target="_blank">ilferraresebono@hotmail.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
hello users, <br><br>I am starting again in understanding how to marry VTK with QT...and I started with the example I've found here....<br><br><a href="http://www.itk.org/Wiki/VTK/Examples/Qt/RenderWindow" target="_blank">http://www.itk.org/Wiki/VTK/Examples/Qt/RenderWindow</a><br>
<br>but I think that there is an error in the source. If I run the code, I first get the VTK window and then as soon as I destroy it I get the QT. <br>But getting rid of vtkRendereWindowInteractor and adding<br><br>widget.SetRenderWindow(renderWindow).<br>
<br>I get the QT window with the VTK visualization inside...<br>and I hope they will be live happily ever after! :)<br><font color="#888888"><br>Giancarlo<br>                                            </font><div></div></div></blockquote></div>
<br><div>You are correct. I have updated the page. Keep in mind that these pages are public, so in the future you are free to update them if you find errors like this :)</div><div><br></div><div>I have also added this page which I believe is more practical:</div>
<div><a href="http://www.vtk.org/Wiki/VTK/Examples/Qt/RenderWindowUi">http://www.vtk.org/Wiki/VTK/Examples/Qt/RenderWindowUi</a></div><div><br></div><div>It shows how to use a .ui file created in QtDesigner4.</div><div><br clear="all">
Thanks,<br><br>David<br></div>