<div dir="ltr">I tried,there is no change in position.<br><br>Jothy<br><br><div class="gmail_quote">On Mon, Jun 7, 2010 at 1:51 PM, Jeff Baumes <span dir="ltr">&lt;<a href="mailto:jeff.baumes@kitware.com">jeff.baumes@kitware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">The first render, the camera automatically adjusts itself to fill the<br>
scene in the frame. You can try calling Render() first manually, then<br>
changing the actor / camera position afterward.<br>
<br>
Jeff<br>
<div><div></div><div class="h5"><br>
On Mon, Jun 7, 2010 at 6:30 AM, Jothy &lt;<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; I have a vtkCubeSource rendered in a render window now I add a vtkActor with<br>
&gt; Actor.SetPosition(x,y,z). But , it always positions it in the centre of the<br>
&gt; renderWindow.<br>
&gt;<br>
&gt; Why is this happening ?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Jothy<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Jeff Baumes, Ph.D.<br>
Technical Lead, Kitware Inc.<br>
(518) 881-4932<br>
</font></blockquote></div><br></div>