[vtkusers] QVTKWidget existing interactors

Robbie Banks robbie.banks at gmail.com
Wed Apr 14 17:27:20 EDT 2010


Is the interactor in the QVTKWidget initialized and started by default?

I've been trying to add a VTKSplineWidget on request, but I keep getting the
following error when I try and start the interactor after creating the
SplineWidget.

ERROR: In /opt/wai/vth/vth-5.4.2/GUISupport/Qt/QVTKWidget.cxx, line 1055
QVTKInteractor (0x3864640): QVTKInteractor cannot control the event loop 

Then when I run the mouse of the VTK window, the code crashes out.

The example on the Wiki only cover standalone VTK windows, not the
QVTKWidget. Do I have to create all the Widgets I want in the construction
of the window and then turn them on and off as and when I need them, in
order for the interactor to work?

Cheers
Robbie

-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of David Doria
Sent: Wednesday, April 14, 2010 12:47 PM
To: Drysdale, Jeremy
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] QVTKWidget existing interactors

On Wed, Apr 14, 2010 at 2:46 PM, Drysdale, Jeremy
<jeremy.drysdale at philips.com> wrote:
> David,
>
> Thanks for the info.  One other question comes to mind... short of testing
with every possible interactor available, is there a list or a decent
description somewhere?
>
> Thanks,
>
> Jeremy Drysdale
> Distinguished Research Engineer
> Prototyping


I would refer to the 'details' section of the class documentation:

http://www.vtk.org/doc/nightly/html/classvtkInteractorStyleFlight.html#_deta
ils

If you go here:
http://www.vtk.org/doc/nightly/html/classes.html

You will find a list of all of the classes and their respective
documentation.

It seems reasonable to me to make a chart of the basic
functionalities/descriptions, but there is actually quite a lot to
explain (what several keys/mouse buttons do) for each, so that chart
would quickly become very large. Since there are only 10 or so, a
quick read through the documentation of each should probably get you
familiar enough to the point where you'd know which one to look into
further when you need its functionality.

Thanks,

David
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list