[vtkusers] Which one to use?! Fltk? GTK? WxWidgets..?!

A J lost_bits1110 at hotmail.com
Fri Jun 4 16:10:08 EDT 2004


Hi experts,

I need someone's expert advice regarding teh following, as I've sort of hit 
a
roadblock..!

So far I've been using c++ and including vtk files to render some images in 
real-time, and have been working on Linux, although my application has to be 
platform-independent in the end..

Now I've been trying to setup some kind of keyboard/mouse interface, i.e set
up some kind of event loop to detect keyboard events etc.. which I figure
can also then be used for events coming from a motion tracker which I will 
be incorporating as well

My code is entirely written in C++ right now, (together with VTK), and I
know that in order to have a keyboard interface, I would then have to get
into X programming (i'm on a linux) which is extremely messy..!
And anyways as I mentioned, my application has to be platform indepenedent 
in the end so I
would then also need to program something for windows..!

So I'm thinking that there must be an easier way..! (I hope!)

So I was thinking I should use Python, but then does this mean I would
have to rewrite my entire c++ code (which is quite a bit of code) to
python
syntax?!  OR can I wrap my c++ code to python..? But then I'm afraid that
I wont be able to wrap everything because I use all kinds of data
structures involving pointers, arrays, and I have several of my own
classes etc..

Or I heard that there is something called GTK or FLTK or wxWidgets?

So I'm really not sure which route to take right now.. Would you have any
suggestions, keeping in mind that I need to maintain platform-independence, 
and that my code has to be fast (real-time), and that I basically need to 
have an event-loop to be able to detect events from a keyboard, mouse, and 
motion-tracker?

Thanks!

_________________________________________________________________
Watch the online reality show Mixed Messages with a friend and enter to win 
a trip to NY 
http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/




More information about the vtkusers mailing list