[PyQt] PyQt and 3D visualization

Phil Thompson phil at riverbankcomputing.com
Wed Aug 6 10:29:07 BST 2008

On Wed, 6 Aug 2008 11:11:52 +0200, "Pierre Raybaut" <contact at pythonxy.com>
> Hi Phil,
> As I probably already mentioned, I'm very interested in PyQt for
> scientific GUI programming, i.e. GUI embedding classic widgets as well
> as 2D and 3D plots.
> Matplotlib + PyQt can help programming rapidly this kind of GUI.
> However, when it comes to 3D visualization, it seems that Enthought is
> a step ahead with TVTK which is using wxPython - adding the missing
> pythonic interface to VTK *and* ready-to-use widgets for visualization
> purpose with Trait.
> I saw on Enthought code website that a Qt backend is being developed
> for Trait (and I think that you are involved in this project).
> (Q1) There is not much information on this, so I'm not sure I
> understand correctly: do you know if this means that, for example, one
> could use TVTK with a Qt backend?

TVTK works fine with PyQt, though you may need the SVN version of VTK to
get the latest PyQt support.

PyQt support in ETS is a subset of the wx support - bits are ported as
required on a commercial basis.

> Another related question:
> (Q2) Is there a way to embend VTK objects in PyQt GUI without
> reinventing the wheel, i.e. with features similar to those of TVTK
> (basic tools that one could put in a toolbar: rotation, zoom,
> projections, ...)?

I don't know, I've never used VTK/TVTK myself.


More information about the PyQt mailing list