[vtkusers] Assigning object a 2D text label

Mads M. Hansen madsmh at gmail.com
Wed Aug 16 07:41:43 EDT 2017


Based on the example at
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Follower

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mainwindow.cpp
Type: text/x-c++src
Size: 6686 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170816/9368ba91/attachment-0001.cpp>


More information about the vtkusers mailing list