[vtkusers] Using the 3D Widgets with wxPython

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Thu Apr 17 02:35:56 EDT 2003


If you used the one shipped with VTK you'll see that the RWinteractor is 
accessible with:

wxVTKRenderWindow._Iren

mathieu


Harris Scott R Civ AFRL/SNJM wrote:
> Has anyone used the 3D Widgets in VTK with wxPython?
> 
> Let's say I wanted to use a vtkBoxWidget. What do I pass to the SetInteractor() method since
> I don't have a vtkRenderWindowInteractor?
> 
> It won't take a wxVTKRenderWindow (Although I should double check maybe I'm using 
> the one supplied by wxPython instead of the VTK version).
> 
> Is there a way to make a vtkRenderWindowInteractor that will just pass selected events from
> wxPython to the 3D Widgets?
> 
> Maybe somebody has a short example or some ideas on how to get this to work?
> 
> Thanks,
> -Scott
> scottrharris at earthlink.net
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list