[vtkusers] vtkimages in tk

Amy Squillacote ahs at cfdrc.com
Tue Jun 24 17:15:26 EDT 2008


If you build VTK with Tcl-wrapping turned on (VTK_WRAP_TCL set to ON 
when you run CMake), you can use the vtkTkRenderWidget, which holds a 
vtkRenderWindow. That way, you can do your VTK rendering as usual but 
within a Tk widget.

- Amy

dgillard at pangeosubsea.com wrote:
> I would like to render some vtkimages and position them in the same
> window, but positioned in different frames, using tk. The only way I can
> think of doing this is by saving them first as tiff images using the
> vtkTiffWriter, and then treating them as photos on the tk side.
>
> Please, does anyone know a nicer way of doing this?
>
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
>   

-- 
Amy Squillacote                    Phone: (256) 726-4839
Computer Scientist                 Fax: (256) 726-4806
CFD Research Corporation           Web: http://www.cfdrc.com
215 Wynn Drive, Suite 501
Huntsville, AL  35805





More information about the vtkusers mailing list