[vtkusers] Translate with vtkBoxWidget

Larcher Aurélie aurelie.larcher at imag.fr
Mon Jan 5 11:21:44 EST 2009


Hi all,

I use vtkBoxWidget for transform objects with the GetTransform method.

The object is like a pen : long and thin.

For the rotation, there is no problem. I can easily select one face for
change the orientation.

For the translation, I must to use the handle in the center of the
hexahedron. But my hexahedron is too thin. I find it’s difficult to select
only the center’s handle. When I change the size of handles, all handles
change size.

I don’t use the others handles because I’m not interested by scaling.  

How can I remove the others handles or how can I change property of a
defined handle.

I need to translate easily an object, just by selecting it.

Thanks for your help !

Aurélie 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090105/02dad939/attachment.htm>


More information about the vtkusers mailing list