[vtkusers] what's the difference between actor 's position and sphere 's center ?

David Doria daviddoria at gmail.com
Mon Jun 4 11:51:19 EDT 2012


On Mon, Jun 4, 2012 at 11:48 AM, Jochen K. <jochen.kling at email.de> wrote:

> Hi yeonchool,
>
> vtkActor.SetPosition() simply effects where your actor is rendered, but do
> not modify any coordinates of the underlying polydata physically.
> Therefore you should use SetCenter() like you do or better apply a
> vtkTransformFilter to modify point coordinates actually.
>
> You may have a look at the doxygen manpage for vtkTransfromFilter, where
> this behaviour is explained.
>
> with best regards
> Jochen


Take a look at the "Transforms" lecture here:
http://vtk.org/Wiki/VTK/Presentations

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


More information about the vtkusers mailing list