[vtkusers] move actor

David Cole dlrdave at aol.com
Mon Jul 29 09:14:11 EDT 2013


> I want to move an actor. When i use the function setPosition of the actor i
> see that the coordinates are actor coords.
> Is there any other function/class/way to move an actor in the world
> coordinates?


Use SetUserTransform with a vtkTransform object that does a translation transformation.


Some examples:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/PolyData/TransformOrderDemo



HTH,

David C.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130729/ca39110f/attachment.htm>


More information about the vtkusers mailing list