<div dir="ltr"><span class="Apple-style-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); ">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); ">vtkusers@vtk.org</a>><br>Message-ID:<br> <<a href="mailto:AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com" style="color: rgb(42, 93, 176); ">AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <<a href="http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html" target="_blank" style="color: rgb(42, 93, 176); ">http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html</a>><br>
<br>------------------------------</span></div>