6.1.1.8.1.1. thyrsis.viewer_3d.camera module¶
- class thyrsis.viewer_3d.camera.Camera(eye, at, up=PyQt5.QtGui.QVector3D(0.0, 0.0, 1.0))¶
Bases :
object
a simple camera
- move(delta_x, delta_y, buttons, modifiers)¶
Move the camera
- Paramètres
delta_x (float) – x coordinates
delta_y (float) – y coordinates
- Params buttons
button type
- Params modifiers
button type
- reset()¶
Reset camera with initial parameters
- wheel_zoom(dt)¶
Zoom in scene using wheel in the QGraphicsScene