Hi, did you delete vtkSphereSource before that code or the sphere ? <div>Concerning fast approach, vtkPolyDataTransformFilter is not definitely good choice for fast solution of moving object - it deforms input, recompute every point manually, that normals. I do not know what &#39;movement&#39; of sphere do you expect , but as it is written, you want MOVE one (same) sphere. Therefore I would combine approach that presentation emphasize - move actor ( apply continuously changed transformation but via graphic (for example OpenGl) pipeline  ) and how to do this is shown on the last slide of presentation. </div>
<div><br></div><div>Jana<br><div><br></div><div><br><div class="gmail_quote">On 5 June 2012 10:30, fearhope <span dir="ltr">&lt;<a href="mailto:fearhope@gmail.com" target="_blank">fearhope@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks Jochen, Neollie and David !<br>
<br>
I deeply appreciate your help.<br>
<br>
Neollie,<br>
thanks for your correction. I was trying to find that information.<br>
<br>
Regarding method 3,<br>
Jochen, thanks for your kind explanation.<br>
however, actually I don&#39;t want to save SphereSource. I would like to keep<br>
actor only.<br>
that&#39;s the problem. it&#39;s not possible ?<br>
actor&#39;s SetPosition is really really fast. I need such speed.<br>
<br>
therefore, according to David&#39;s recommendation, I have changed the code like<br>
as follows.<br>
<div class="im"><br>
        vtkSmartPointer&lt;vtkTransformPolyDataFilter&gt; transformFilter =<br>
                vtkSmartPointer&lt;vtkTransformPolyDataFilter&gt;::New();<br>
<br>
</div>transformFilter-&gt;SetInputConnection(*actor-&gt;GetMapper()-&gt;GetInput()-&gt;GetProducerPort()*);<br>
        transformFilter-&gt;SetTransform(transformation);<br>
        transformFilter-&gt;Update();<br>
<br>
but It doesn&#39;t change anything. only I got the following error message.<br>
<br>
ERROR: In<br>
C:\Projets\PCL\installers_x86\vtk\VTK\Filtering\vtkDemandDrivenPipeline.cxx,<br>
line 802<br>
vtkStreamingDemandDrivenPipeline (290494C0): Input for connection index 0 on<br>
input port index 0 for algorithm vtkTransformPolyDataFilter(2904D4F0) is<br>
NULL, but a vtkPolyData is required.<br>
<br>
does anybody know why ?<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/what-s-the-difference-between-actor-s-position-and-sphere-s-center-tp5713553p5713582.html" target="_blank">http://vtk.1045678.n5.nabble.com/what-s-the-difference-between-actor-s-position-and-sphere-s-center-tp5713553p5713582.html</a><br>

<div class="im HOEnZb">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div></div>