[vtkusers] Move actors inside a callback function

David Doria daviddoria at gmail.com
Sun Oct 2 18:21:35 EDT 2011


On Sat, Oct 1, 2011 at 5:03 AM, andon <antoniod987 at gmail.com> wrote:
> Hi,
> i need your very usefull help...i'm using a callback function in order to
> manipulate values obtained by picking...now what i need to do is moving
> actor in function of some operations done in this callback function...for
> example after N iterations of the callback function i have to move the
> position of an actor of a value calculated in this iterations...how can i
> move this actor in runtime? What should i use??
> Thanks for your help
> Antonio

Did you try SetPosition()?

http://www.vtk.org/doc/nightly/html/classvtkProp3D.html#a3061e733df5540ebb3c73f812b8ea7f2

David



More information about the vtkusers mailing list