[vtkusers] scaling made as a translation

Giancarlo Amati ilferraresebono at hotmail.it
Tue Feb 23 13:16:47 EST 2010


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
 		 	   		  
_________________________________________________________________
Scatta, ritocca e condividi le tue foto online. Gratis per te
http://www.windowslive.it/foto.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100223/9228cc55/attachment.htm>


More information about the vtkusers mailing list