I think it is positioned in the x,y,z, but the camera is adjusted in that way which looks like it is still positioned in the center.<br>Try it with a second object in the scene and use it as a reference. Then you should see the first object (vtkCubeSource) to be in different position.<br>
<br>Bill Chivas<br><br><div class="gmail_quote">2010/6/7 Jothy <span dir="ltr"><<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">Hi all,<br><br>I have a vtkCubeSource rendered in a render window now I add a vtkActor with Actor.SetPosition(x,y,z). But , it always positions it in the centre of the renderWindow.<br><br>Why is this happening ?<br>
<br>Thanks,<br><br>Jothy<br></div>
<br>_______________________________________________<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>
<br></blockquote></div><br>