[vtkusers] scaling made as a translation
Giancarlo Amati
ilferraresebono at hotmail.it
Wed Feb 24 04:42:38 EST 2010
Ehm...well yeah I need to change the position of the camera of course.
but what it has to do with scaling an object?
thanks.
Giancarlo
Date: Tue, 23 Feb 2010 14:35:41 -0500
Subject: Re: [vtkusers] scaling made as a translation
From: darshanpai at gmail.com
To: ilferraresebono at hotmail.it
CC: vtkusers at vtk.org
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!
_______________________________________________
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
_________________________________________________________________
Tutto lo spazio che ti serve, lo trovi su Hotmail
http://www.windowslive.it/hotmail/SpazioDisponibile.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100224/efbfbc86/attachment.htm>
More information about the vtkusers
mailing list