<div dir="ltr">Yes, I have done the following<br><br><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>UI*->QVTKWidget->GetRenderWindow()->AddRenderer(vtkRenderer*);</div>
<div>UI*->QVTKWidget->GetRenderWindow()->SetInteractor(UI*->QVTKWidget->GetInteractor());<br><br>but, what is this vtkWidget - is that the qvtkWidget?<br><br>Thanks,<br><br>Jothy <br></div></span><br><br><div class="gmail_quote">
On Wed, Aug 4, 2010 at 4:14 AM, Prathamesh Kulkarni <span dir="ltr"><<a href="mailto:prathameshmkulkarni@gmail.com">prathameshmkulkarni@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"><div>Have you done this prior to your posted code?:</div><div><br></div><div>UI*->QVTKWidget->GetRenderWindow()->AddRenderer(vtkRenderer*);</div>
<div>UI*->QVTKWidget->GetRenderWindow()->SetInteractor(UI*->QVTKWidget->GetInteractor());</div><div><br></div><div>and also,</div><div>vtkWidget->ProcessEventsOn();</div><div><br></div><div><br></div><div>
Prathamesh</div><div><br></div>Message: 3<br>Date: Tue, 3 Aug 2010 16:22:00 +0100<br>From: Jothy <<a href="mailto:jothybasu@gmail.com" style="color: rgb(42, 93, 176);" target="_blank">jothybasu@gmail.com</a>><br>Subject: [vtkusers] Qt/VTK error<br>
To: VTK Mailing List <<a href="mailto:vtkusers@vtk.org" style="color: rgb(42, 93, 176);" target="_blank">vtkusers@vtk.org</a>><br>Message-ID:<br> <<a href="mailto:AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com" style="color: rgb(42, 93, 176);" target="_blank">AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<div class="im"><br><br>Hi all,<br><br>what's wrong here?<br><br>*ui->qvtkWidget->GetInteractor()->Initialize();*<br><br>*ui->qvtkWidget->GetRenderWindow()->Render();*<br>
<br>*checkerWidget->On();*<br><br>*ui->qvtkWidget->GetInteractor()->Start();<br><br>throws "*QVTKInteractor (0x3652ba8): QVTKInteractor cannot control the<br>event loop." in Qt Creator.<br><br>Thanks,<br>
<br>Jothy<br></div>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html" style="color: rgb(42, 93, 176);" target="_blank">http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html</a>><br>
<br>------------------------------</span></div>
</blockquote></div><br></div>