[vtkusers] vtkCallbackCommand in ActiveViz

Jochen K. jochen.kling at email.de
Fri Jun 22 13:26:19 EDT 2012


In my example I did a little mistake:

In the eventhandler there is no need to instantiate a new object:

   vtkInteractorStyleUser caller = vtkInteractorStyleUser.New();
   caller = (vtkInteractorStyleUser)e.Caller;

It should say instead:

   vtkInteractorStyleUser caller = (vtkInteractorStyleUser)e.Caller;


with best regards
Jochen


--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkCallbackCommand-in-ActiveViz-tp5714143p5714154.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list