[vtkusers] GUI integration

nclemeur nclemeur at gmail.com
Wed Aug 4 07:25:37 EDT 2010



>From a performance, reliability and productivity standpoint, using Qt with
C++ is the best way to quickly develop apps with VTK. Its quite
straightforward and simple. 


> 
> Yes I agree that you can't beat the performance of that solution. I am not
> completely convinced in term of productivity, but I don't know  Qt at all,
> so can't really judge here. But I am not really sure I want at this stage
> to embark in including a new (big) library (in top of vtk which is quite
> new for me too).
> 
> 
> Elvis Dowson wrote:
>> 
>> Having said that, if you must explore an option using Java or Python,
>> perhaps you could try creating a quick prototype using 
>> 
>> - java wrappings, and using Eclipse + SWF (Standard Widget Framework) for
>> the GUI part, since SWF allows you to create native looking apps, using
>> Java, rather than using Swing for the GUI library. I don't know if Swing
>> is supported for the VTK OpenGL rendering context, perhaps someone else
>> could comment on that.
>> 
> 
> I have been playing a bit with Swing + vtk and it seems quite a good
> solution so far (a bit a flickering on resizing the frame that need to be
> solved at some stage). I am not really sure about the OpenGL rendering
> context. I guess we are talking about Linux here? I haven't seen many
> reference to that problem. I kind of remember you can disable opengl in
> vtk on Linux (or maybe I am wrong and just confusing opengl with graphic
> hardware acceleration, or are they the same?... I am bit novice here
> obviously). 
> 
> 
> Elvis Dowson wrote:
>> 
>> - python, with wxPython (which internally wraps wxWidgets). You'll also
>> have to install the PyOpenGL wrappers. I haven't played extensively with
>> VTK with python, but have done so with another tooling framework, and
>> from a language and usability perspective, its very nice. The python
>> language is quite clean, and easy to use. A lot of engineers working with
>> scientific visualization use a combination of C++ and python. A tool
>> called SWIG (Simple Wrapper Interface Generator) is used to generate the
>> python bindings for a given C++ class. I think it does it for java as
>> well. 
>> 
> 
> Yes  I would really like to explore a bit the Python world, but it is
> really a matter of finding some time. Also, starting in a new language
> with a new library (vtk) and 2 wrappers in middle, might be asking for
> problems :-). I have been using Swig for java wrapping and it is great.
> 
> 
> Elvis Dowson wrote:
>> 
>> For the last option, using C++ with wxWidgets, I would say don't even
>> bother, because I don't think wxWidgets are all that great. You would
>> gain much in terms of overall application framework support using Qt and
>> its extensive library support, than using wxWidgets just for the GUI
>> part, since Qt includes stuff for both the GUI plus a whole lot of
>> functionality for developing actual apps. 
>> 
> 
> Well, I guess there is definetely one merit to wxWidgets for me: I know a
> bit the environment (build system, examples, documentation,...). I can't
> really compare with Qt, but I found wxWidgets reasonnably good. I has also
> quite a bit of functionnality aside from the GUI parts. Anyway this
> certainly not my intention to start a comparison between QT and wx.
> 
> Thank you very much for your time!
> 
> Cheers
> 
> Nicolas
> 
> Best regards,
> 
> Elvis
> 
> 
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 

-- 
View this message in context: http://vtk.1045678.n5.nabble.com/GUI-integration-tp2260958p2263940.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list