[vtkusers] Assigning object a 2D text label
sankhesh.jhaveri at kitware.com
Wed Aug 16 10:10:06 EDT 2017
The error originates from the following line:
You don’t need to start the event loop manually with the QVTKInteractor.
QVTKWidget would use Qt’s event loop.
Just remove the Start() call.
Hope that helps.
On Wed, Aug 16, 2017 at 7:43 AM Mads M. Hansen <madsmh at gmail.com> wrote:
> Based on the example at
> I have tried to attach a text label to a number of objets (line
> 106-149), however
> when the render method is called (line 80 in the attached file)
> I get this message:
> /xxx/VTK-8.0.0/GUISupport/Qt/QVTKInteractor.cxx, line 147
> QVTKInteractor (0x1ea3da0): QVTKInteractor cannot control the event loop.
> and no text appeares on screen. I have been unable to figure out how
> to sort it out :(
> .. Mads
> Powered by www.kitware.com
> Visit other Kitware open-source projects at
> Please keep messages on-topic and check the VTK FAQ at:
> Search the list archives at: http://markmail.org/search/?q=vtkusers
> Follow this link to subscribe/unsubscribe:
Sankhesh Jhaveri *Sr. Research & Development Engineer* | Kitware
<http://www.kitware.com/> | (518) 881-4417
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers