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

Bill Chivas noo134 at googlemail.com
Mon Jun 7 10:34:45 EDT 2010


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.
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.

Bill Chivas

2010/6/7 Jothy <jothybasu at gmail.com>

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


More information about the vtkusers mailing list