vtkmodules.tk.vtkTkPhotoImage#

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

Created by Daniel Blezek, August 2002

模組目次#

類別#

vtkTkPhotoImage

A subclass of PhotoImage with helper functions for displaying vtkImageData

API#

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

基底類別:tkinter.PhotoImage

A subclass of PhotoImage with helper functions for displaying vtkImageData

初始化

Create an image with NAME.

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

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