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

Jochen K. jochen.kling at email.de
Mon Jun 4 11:48:31 EDT 2012


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

--
View this message in context: http://vtk.1045678.n5.nabble.com/what-s-the-difference-between-actor-s-position-and-sphere-s-center-tp5713553p5713564.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list