[vtkusers] Unexpected vtkTkRenderWidget
Lisa Avila
lisa.avila at kitware.com
Wed Jul 16 16:21:10 EDT 2003
Hi Daniel,
It is the call to Render that is causing you a problem - your render window
is mapping itself because you requested a render. Do not render until after
you have packed your widget.
Lisa
At 03:17 PM 7/16/2003, dan wrote:
>Hi !
>
>I have built my own Tcl interpreter (with VTK support). When I use it
>vtkTkRenderWidget appeared befor I have packed it. The following code is
>an example
>
> vtkRenderer AtomRenderer
> vtkRenderWindow AtomRenWin
> AtomRenWin AddRenderer AtomRenderer
> vtkTkRenderWidget .atomRW -rw AtomRenWin
> vtkRenderWindowInteractor AtomIren
> AtomIren SetRenderWindow AtomRenWin
> AtomRenWin Render
># pack .atomRW -padx 3 -pady 3 -fill both -expand yes
>
>Could somebody can give me advice how to rectify this problem ???
>
>Daniel.
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic.
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list