[vtkusers] Qt/VTK error
Prathamesh Kulkarni
prathameshmkulkarni at gmail.com
Tue Aug 3 23:14:03 EDT 2010
Have you done this prior to your posted code?:
UI*->QVTKWidget->GetRenderWindow()->AddRenderer(vtkRenderer*);
UI*->QVTKWidget->GetRenderWindow()->SetInteractor(UI*->QVTKWidget->GetInteractor());
and also,
vtkWidget->ProcessEventsOn();
Prathamesh
Message: 3
Date: Tue, 3 Aug 2010 16:22:00 +0100
From: Jothy <jothybasu at gmail.com>
Subject: [vtkusers] Qt/VTK error
To: VTK Mailing List <vtkusers at vtk.org>
Message-ID:
<AANLkTinHUzGOuZS6r0qmYF2dO3AkUzvBaYcBXbjv0GCe at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi all,
what's wrong here?
*ui->qvtkWidget->GetInteractor()->Initialize();*
*ui->qvtkWidget->GetRenderWindow()->Render();*
*checkerWidget->On();*
*ui->qvtkWidget->GetInteractor()->Start();
throws "*QVTKInteractor (0x3652ba8): QVTKInteractor cannot control the
event loop." in Qt Creator.
Thanks,
Jothy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://www.vtk.org/pipermail/vtkusers/attachments/20100803/449fd90c/attachment.html
>
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100803/04b536c2/attachment.htm>
More information about the vtkusers
mailing list