[vtkusers] Set/Add position of vtkActor has no effect

Jothy jothybasu at gmail.com
Mon Jun 7 09:23:44 EDT 2010


I tried,there is no change in position.

Jothy

On Mon, Jun 7, 2010 at 1:51 PM, Jeff Baumes <jeff.baumes at kitware.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100607/e609b84d/attachment.htm>


More information about the vtkusers mailing list