QT Qvtkwidget. Interactorstyle change

932 views Asked by At

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.

1

There are 1 answers

0
JohnnyQ On

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