On Sun, Nov 25, 2012 at 10:49 PM, Rodrigo Lovera <span dir="ltr">&lt;<a href="mailto:lobo.theslayer@gmail.com" target="_blank">lobo.theslayer@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just added the code I linked before, I can&#39;t fully provide the code im working on cuz it&#39;s a gui and in these case it&#39;s just a function I call to the main for a qvtkwidget.<br></blockquote><div><br></div>Why can you not provide minimal code for a GUI?</div>
<div class="gmail_quote"><br>The first thing I suggest you do is look at the examples (e.g. <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Qt/RenderWindowUIMultipleInheritance</a>) - you will see that there is no vtkRenderWindowInteractor created (and thus no interactor-&gt;Start() called) because all of this is handled inside the QVTKWidget.<br clear="all">
<br>David<br><br><div> </div></div>