简体   繁体   中英

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM