[vtkusers] scaling made as a translation

Darshan Pai darshanpai at gmail.com
Tue Feb 23 14:35:41 EST 2010


Are you Resetting the camera by any chance?

On Tue, Feb 23, 2010 at 1:16 PM, Giancarlo Amati <ilferraresebono at hotmail.it
> wrote:

>  Hello Vtks! :)
>
> I'm not getting this problem:
>
> I've a vtkPlaneSource which by default is in the origine.
> now... I call the SetScale(2) to double it's size but dunno why it
> translates instead of keeping the position and getting bigger.
> So I thought to do it manually by defining a vtkMatrix4x4, and passing this
> matrix to the SetUserMatrix of the actor.
> but again, the same result?
>
> what's wrong with me?
>
> Thanks.
> Giancarlo
>
> ------------------------------
> Annoiato? Prova i giochi di Messenger!<http://www.messenger.it/raccoltaGiochi.aspx>
>
> _______________________________________________
> 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/20100223/71f64f75/attachment.htm>


More information about the vtkusers mailing list