Reputation: 109
My application is using qvtkwidget and I'm trying to change its interactorstyle. With its default setting, holding down mouse wheel button moves objects, but I'd like it to be done by mouse right click. Does anyone know how to change it? Thanks.
Upvotes: 0
Views: 960
Reputation: 1611
You have to create your own interactor like drescherjm commented.
There is a nice example on page http://www.cmake.org/Wiki/VTK/Examples/Cxx/Interaction/InteractorStyleUser
Upvotes: 1