[vtkusers] Set/Add position of vtkActor has no effect
Anant Vemuri
ajar108 at gmail.com
Mon Jun 7 10:56:20 EDT 2010
Did you try to put an reference frame to check if it really is positioning
properly in the scene. You can use a vtkAxesActor to do that.
-----------
Anant S. Vemuri
email: ajar108 at gmail.com
On Mon, Jun 7, 2010 at 8: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
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100607/4077a6e7/attachment.htm>
More information about the vtkusers
mailing list