[vtkusers] vtkSphereWidget

Matthias Riechmann riechmann at ira.uka.de
Thu Feb 14 09:25:06 EST 2008


Hi,

I discovered some strange behavior of the vtkSphereWidget: When dragging 
it with the mouse I think it's supposed to stay below the mouse cursor, 
but it doesn't. Actually it moves faster than the cursor. When looking 
into the code it seemed to calculate the movement-vector using the focal 
distance of the camera instead of the distance to the widget when 
transforming between 2D and 3D coordinates. Other widgets use the 
distance between camera and widgets. Is it this way on purpose?

I'm using the 5.0.3 release of VTK.


Matthias




-- 
Dipl.-Inform. Matthias Riechmann
Institut für Prozessrechentechnik, Automation und Robotik
Medizin-Gruppe
Universität Karlsruhe (TH)
Gebäude 40.28, Zimmer 103
Engler-Bunte-Ring 8
76131 Karlsruhe

Fon: +49 (721) 608-4049
Fax: +49 (721) 608-7141

Web: http://wwwipr.ira.uka.de/~richmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: riechmann.vcf
Type: text/x-vcard
Size: 518 bytes
Desc: not available
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080214/cef40ee8/attachment.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3319 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080214/cef40ee8/attachment.bin>


More information about the vtkusers mailing list