vtkmodules.tk.vtkTkPhotoImage#

A subclass of tkinter.PhotoImage that connects a vtkImageData to a photo widget.

Created by Daniel Blezek, August 2002

Module Contents#

Classes#

vtkTkPhotoImage

A subclass of PhotoImage with helper functions for displaying vtkImageData

API#

class vtkmodules.tk.vtkTkPhotoImage.vtkTkPhotoImage(**kw)#

Bases: tkinter.PhotoImage

A subclass of PhotoImage with helper functions for displaying vtkImageData

Initialization

Create an image with NAME.

Valid resource names: data, format, file, gamma, height, palette, width.

PutImageSlice(image, z, orientation='transverse', window=256, level=128)#