Lines Matching refs:mCamera
204 mTrackball.setCamera(&mCamera); in RenderingWidget()
222 aux.orientation = mCamera.viewMatrix().linear(); in grabFrame()
223 aux.position = mCamera.viewMatrix().translation(); in grabFrame()
307 mCamera.setFrame(currentFrame); in animate()
317 mCamera.zoom(2); in keyPressEvent()
320 mCamera.zoom(-2); in keyPressEvent()
406 float dx = float(e->x() - mMouseCoords.x()) / float(mCamera.vpWidth()); in mouseMoveEvent()
407 float dy = - float(e->y() - mMouseCoords.y()) / float(mCamera.vpHeight()); in mouseMoveEvent()
433 mCamera.localRotate(q); in mouseMoveEvent()
435 mCamera.rotateAroundTarget(q); in mouseMoveEvent()
439 mCamera.zoom(dy*100); in mouseMoveEvent()
442 mCamera.localTranslate(Vector3f(0, 0, -dy*200)); in mouseMoveEvent()
445 mCamera.localTranslate(Vector3f(dx*200, dy*200, 0)); in mouseMoveEvent()
472 mCamera.activateGL(); in paintGL()
484 mCamera.setPosition(Vector3f(-200, -200, -200)); in initializeGL()
485 mCamera.setTarget(Vector3f(0, 0, 0)); in initializeGL()
486 mInitFrame.orientation = mCamera.orientation().inverse(); in initializeGL()
487 mInitFrame.position = mCamera.viewMatrix().translation(); in initializeGL()
492 mCamera.setViewport(width,height); in resizeGL()
515 Frame aux0 = mCamera.frame(); in resetCamera()
517 aux0.position = mCamera.viewMatrix().translation(); in resetCamera()
520 Vector3f currentTarget = mCamera.target(); in resetCamera()
521 mCamera.setTarget(Vector3f::Zero()); in resetCamera()
524 Frame aux1 = mCamera.frame(); in resetCamera()
526 aux1.position = mCamera.viewMatrix().translation(); in resetCamera()
535 mCamera.setFrame(aux1); in resetCamera()
536 mCamera.setTarget(Vector3f::Zero()); in resetCamera()
540 aux1.position = mCamera.viewMatrix().translation(); in resetCamera()