[vtkusers] quirky import vtk.wx and workaround

Sven Prevrhal sprevrha at gmail.com
Wed Apr 16 01:32:48 EDT 2008


Have April 2008 VTK CVS and Python2.5 wrappers. When I do 

C:\>vtkpython

>>import vtk

>>import vtk.wx

I do not get the wxRenderWindow and wxRenderWindowInteractor commands in

>>dir(vtk.wx)

However, I do get them after

>>from vtk.wx import *

both with

>>dir()

and

>>dir(vtk.wx)

 

Same with vtk.tk etc. - what's going on?

 

 

Thank you and cheers,

Sven

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080415/2c47e3ce/attachment.htm>


More information about the vtkusers mailing list