Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

integrating C++, tcl/tk and VTK: best way to pass VTK render reference

Status
Not open for further replies.

JapanMontrealExpat

Programmer
Sep 29, 2003
5
0
0
JP
Hi everyone,

I have a student who is building a GUI for my surgical simulation project, and we are having problems incorporating a VTK render window with our combination of Tcl/Tk and C++ code.

We would like to imbed a VTK renderer within a TK widget (or at least pack it with other TK widgets), let the Tcl/Tk define the interface, and allow the C++ code (which implements the simulation) to act on the VTK rendering. Is there a simple way to do this? Do we pass a generic TK canvas or similar widget, a VTK reference to C++ or proceed otherwise?

Best regards,

Michel Audette
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top