[vtkusers] vtkInteractorStyle : inherit from two vtkInteractorStyle
nsarrasin
nsarrasin at phenix-systems.com
Thu Mar 24 03:41:05 EDT 2011
Thanks for your reply.
I've proceed this way for convenience and to not reinvent the wheel. All the
functionalities I want are included in one of all InteractorStyle so I
thought I could inherit from them. Anyway, I won't do this.
What do you mean by : "Can you just call the functions manually in your
custom interactor style?" ?
The only solution I see is to copy the code of each function from the right
interactor style and paste it into my custom interactor.
For example, for my Rotate() function, if I want to call
"vtkInteractorStyleTrackballActor::Spin()" AND I'm not inheriting from
vtkInteractorStyleTrackballActor, I'll have to copy its code manually or is
there another way to call this function ?
Thanks by advance.
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkInteractorStyle-inherit-from-two-vtkInteractorStyle-tp4259126p4261885.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list