[vtkusers] choosing the best tool for creating GUIs
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Thu Sep 19 22:00:34 EDT 2002
>>>>> "TD" == Thomas Deschamps <tdeschamps at lbl.gov> writes:
TD> Hi vtkusers, I have a lot of C++ code using VTK for the
TD> visualization part. I would like to know according to your
TD> different experiences what is the best programming/scripting
TD> language to create Graphical User Interfaces together with VTK
TD> and C++ code. I would like to embed the visualization part in
TD> the GUI and to add a lot of callbacks to call my programs on
TD> the data visualized. Tcl/Tk appears to me as the basic
TD> solution but I would like something more object-oriented, to
TD> write classes of widgets, etc... But I would like it to work
AFAIK, Python is the best language to do this, I'm biased ofcourse.
TD> with my C++ code. Is Python efficient? Does anybody have
TD> experience with PyQt, or other things? Thank you for your
TD> help,
You'd need to be more specific. I have very little experience with
PyQt but I believe that it works very nicely. There is even a nice
book on it.
http://www.opendocspublishing.com/pyqt
One nice thing about Python is that there are many options with what
toolkit you use. Also it should not be hard wrapping your C++ code so
it works with Python. If you cant use VTK's own wrapping mechanism
take a look at SWIG (http://www.swig.org) or Boost.Python
(http://www.boost.org/libs/python/doc/).
cheers,
prabhu
More information about the vtkusers
mailing list