[vtkusers] GUI building, VTK

Seema Jaisinghani seemri at yahoo.com
Fri Feb 21 15:38:16 EST 2003


Thanks for summing up...


> 
>   Hello Seema,   I face this same issue.  I've
> implemented a few applications   with GUI's in
> tcl/tk that work well but I think C++ is a much
> better
>    implementation language that tcl.  Here is what
> I've learned.
>   There are GUI builders compatible with vtk and
> C++. They are
>       - FLTK           (free. should be good, used
> in ITK)
>       - Qt                 (free for Unix but costs 
> $$ for windows.  very good.)
>       - wxWindows (free. I think this is good too)
>       - Tk
> 
> My choice is Tk.  I've added C++ code to tcl/tk
> programs using the bidirectional pipe
> facility of Tcl.  It really works well.  You can use
> sockets instead of pipes. There
> are two other approaches which I think are more what
> you want
> 
> ==>  1) Implement your code as a new tcl command
> using the tcl language extension
>             capability.  I like this a lot.  tcl
> language extensions are dynamically loadable.
> 
>             Do the GUI in Tcl/TK.
> 
>    2) Embed the Tcl/Tk interpreter in your C++
> program. This is a popular, but verbose
>         approach
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/



More information about the vtkusers mailing list