[vtkusers] xxxxxSPAMxxxxx Re: xxxxxSPAMxxxxx xxxxxSPAMxxxxx TrackBall ActorQuestion
alex
alexdowson at hotmail.com
Thu May 6 00:23:24 EDT 2010
Hi
Thank david for reply. I will try to do that.
Thanx
Alex
----- Original Message -----
From: David Doria
To: raul at torresyvalero.com
Cc: vtkusers at vtk.org
Sent: Wednesday, May 05, 2010 9:56 PM
Subject: Re: [vtkusers] xxxxxSPAMxxxxx xxxxxSPAMxxxxx TrackBall ActorQuestion
Is there a way to limit some transformations on actors?
I wish to forbid scalation.
Many thanks.
You could subclass the interactor style and re-implement the function that handles the scaling mouse click. Here is an example of those concepts:
http://vtk.org/Wiki/VTK/Examples/Interaction/MouseEvents
David
------------------------------------------------------------------------------
_______________________________________________
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/20100506/78af3ece/attachment.htm>
More information about the vtkusers
mailing list