QVTKRenderWindowInteractor.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:mhri 作者: mhri 项目源码 文件源码
def mouseReleaseEvent(self, ev):
        ctrl, shift = self._GetCtrlShift(ev)
        self._Iren.SetEventInformationFlipY(ev.x(), ev.y(),
                                            ctrl, shift, chr(0), 0, None)

        if self._ActiveButton == Qt.LeftButton:
            self._Iren.LeftButtonReleaseEvent()
        elif self._ActiveButton == Qt.RightButton:
            self._Iren.RightButtonReleaseEvent()
        elif self._ActiveButton == Qt.MidButton:
            self._Iren.MiddleButtonReleaseEvent()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号