Sorry about my mistake, the problem happens at vtkActor::GetPosition().<br><br>Wenlong<br><br><div class="gmail_quote">2011/10/29 Wenlong Wang <span dir="ltr">&lt;<a href="mailto:scc.wwl@gmail.com">scc.wwl@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear all,<br><br>I&#39;m running the example here <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TransformPolyData" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/TransformPolyData</a> . There are two spheres created from vtkSphereSource.<br>

<br>I create two arrays<b> double p1[3]</b> and <b>double p2[3]</b>. After the renderer add these two actors, I applied vtkActor::GetCenter() to them. However, I found the returned points are all (0, 0, 0). But they are obviously in different position. So does that mean the returned value is the model coordinates? <br>

<br>Many thanks in advance.<br><br>Best wishes<br><font color="#888888">Wenlong<br>
</font></blockquote></div><br>