[vtkusers] Set/Add position of vtkActor has no effect
Jeff Baumes
jeff.baumes at kitware.com
Mon Jun 7 08:51:55 EDT 2010
The first render, the camera automatically adjusts itself to fill the
scene in the frame. You can try calling Render() first manually, then
changing the actor / camera position afterward.
Jeff
On Mon, Jun 7, 2010 at 6:30 AM, Jothy <jothybasu at gmail.com> wrote:
> Hi all,
>
> 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.
>
> Why is this happening ?
>
> Thanks,
>
> Jothy
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
Jeff Baumes, Ph.D.
Technical Lead, Kitware Inc.
(518) 881-4932
More information about the vtkusers
mailing list