[vtkusers] When mouse is not moving, object is automatically rotated when the left button is pressed.

superzz jxdw_zlf at yahoo.com.cn
Mon Nov 16 09:01:16 EST 2009


It works. Thank you :)


Jérôme-2 wrote:
> 
> Hi,
> If the rotation speed depends on the mouse position, then you are using
> the
> default interactor and the described behaviour is normal. Change it to
> trackball interactor, it should do the trick.
> 
> HTH,
> Jerome
> 
> 2009/11/16 superzz <jxdw_zlf at yahoo.com.cn>
> 
>>
>> Hello
>> When vtkRenderWindowInteractor is used. The object is automatically
>> rotated
>> when the left button is pressed even the mouse is not moving.
>>
>> How can I disable auto rotating? Only wanna it rotate when the mouse is
>> moving and left button is pressed.
>>
>> Thanks
>>
>> superZZ
>> --
>> View this message in context:
>> http://old.nabble.com/When-mouse-is-not-moving%2C-object-is-automatically-rotated-when-the-left-button-is-pressed.-tp26369311p26369311.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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
>>
> 
> _______________________________________________
> 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
> 
> 

-- 
View this message in context: http://old.nabble.com/When-mouse-is-not-moving%2C-object-is-automatically-rotated-when-the-left-button-is-pressed.-tp26369311p26372372.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list