[vtkusers] Assigning object a 2D text label
Mads M. Hansen
madsmh at gmail.com
Wed Aug 16 12:40:22 EDT 2017
thank you that got rid of the error - but did not make the text appear.
2017-08-16 16:10 GMT+02:00 Sankhesh Jhaveri <sankhesh.jhaveri at kitware.com>:
> Hi Mads,
> 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 | (518) 881-4417
More information about the vtkusers