user3734823
user3734823

Reputation: 109

QT Qvtkwidget. Interactorstyle change

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

Answers (1)

JohnnyQ
JohnnyQ

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

Related Questions