Pb using vtkTkRenderWidget

jdickson jdickson at v1.wustl.edu
Fri Aug 13 17:10:12 EDT 1999


Add this to the top of the file test.tcl

# Source external files
source TkInteractor.tcl
source vtkInt.tcl

and also

add

BindTkRenderWidget $wMain.window

as below

> vtkRenderer Renderer
> vtkTkRenderWidget $wMain.window -width 500 -height 500
         BindTkRenderWidget $wMain.window
> pack $wMain.window -side top -anchor nw -padx 3 -pady 3 -fill both -expand
1
>

James Dickson



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list