[vtkusers] yet more vtk + gui questions
Harris Scott R CIV AFRL/SNJM
Scott.Harris at wpafb.af.mil
Fri Feb 2 10:52:52 EST 2001
Using VTK, wxPython, and picking is quite easy. I just render in the
wxVTK widget, and when the appropriate key is pressed I catch the event in
wxPython
and call the picker with the mouse coordinates. It's quite simple (it has to
be-I'm a VTK
and wxPython novice).
You can extend/change the behavior of the wxVTK widget easily to suit your
needs.
I really like wxPython and it's far superior to Tk.
-Scott
-----Original Message-----
From: Charl P. Botha [mailto:c.p.botha at its.tudelft.nl]
Sent: Friday, February 02, 2001 7:17 AM
To: vtkusers at public.kitware.com
Subject: [vtkusers] yet more vtk + gui questions
Dear VTK-users,
A while back there were some threads on this list w.r.t. a cross-platform
GUI for VTK. I have experimented with FLTK and VTK (using John Shalf and
Frank Da's classes) and this works very well under X-based systems but there
is no support for Windows.
At the moment I'm looking at wxpython and its VTK support: this is
cross-platform but seems to be missing any support for
vtkRenderWindowInteractors (and thus vtk picking). Python + TkInter seems
to support this. Does anyone here have any other information on this? In
short: can I have wxpython + vtkRenderWindowInteractor?
If I've missed a FM, please point me at it.
--
charl p. botha | computer graphics and cad/cam
http://cpbotha.net/ | http://www.cg.its.tudelft.nl/
_______________________________________________
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
More information about the vtkusers
mailing list