[vtkusers] When mouse is not moving, object is automatically rotated when the left button is pressed.
Wes Turner
wes.turner at kitware.com
Mon Nov 16 08:52:51 EST 2009
You can switch to trackball mode by hitting 't' in the render window. You
will have to do this every time you run your app unless you switch to a
different interactor behavior as Jerome suggests.
- Wes
On Mon, Nov 16, 2009 at 8:09 AM, Jérôme <jerome.velut at gmail.com> 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
>
>
--
Wesley D. Turner, Ph.D.
Kitware, Inc.
Technical Leader
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4920
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091116/5a453bbc/attachment.htm>
More information about the vtkusers
mailing list