Commit f967d571 authored by Dan Blezek's avatar Dan Blezek
Browse files

BUG: Fixing errors

parent 5a3e8947
......@@ -20,7 +20,8 @@ class vtkTkPhotoImage ( Tkinter.PhotoImage ):
# Caller the superclass
Tkinter.PhotoImage.__init__ ( self, kw )
vtkLoadPythonTkWidgets ( self.tk )
def PutImageSlice ( self, image, z ):
t = cast.GetOutput().__this__
photo.tk.eval ( 'vtkImageDataToTkPhoto ' + t[:-2] + ' ' + self.name + ' ' + z );
def PutImageSlice ( self, image, z, orientation='transverse' ):
t = image.__this__
s = 'vtkImageDataToTkPhoto %s %s %d %s' % ( t[:-2], self.name, z, orientation )
self.tk.eval ( s )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment