[vtkusers] TypeError: cannot create 'vtkclass' instances
sebastien
sebastien_gd at yahoo.fr
Mon Jan 6 04:27:11 EST 2003
Hello
I begin with python and I have this problem.
I wand to create a new vtkInteractorStyle so I have
creae a nex class like this
from vtkpython import *
class sliceInteractorStyle(vtkInteractorStyleSwitch) :
def OnChar(ctrl,shift,keycode,repeatcount):
if keycode=="+" :
...
elif keycode=="-" :
...
else:
...
I have the error "TypeError: cannot create 'vtkclass'
instances " , on the line
class sliceInteractorStyle(vtkInteractorStyleSwitch) :
Thank you for your help
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the vtkusers
mailing list