[vtkusers] Move actors inside a callback function

Jérôme jerome.velut at gmail.com
Wed Oct 5 09:36:40 EDT 2011


Hi,
maybe by declaring a struct (or class) containing both actor and array
? Just pass this structure as clientData, and you will have access to
the array and the actor in the callback function.

HTH
Jerome

2011/10/5 andon <antoniod987 at gmail.com>:
> That's an idea...i anyway already use tha clientData to pass an array that i
> need to use in the algorithm, so how could i pass tha actors too??
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Move-actors-inside-a-callback-function-tp4859295p4872037.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list