20 #ifndef OMNI_UI_ROTATION_H_
21 #define OMNI_UI_ROTATION_H_
56 EulerAngles
angles()
const;
void setY(double)
Set value for Y angle (pitch angle)
Definition: Rotation.cpp:89
Mixin with a function to lock the widget temporarily.
Definition: Locked.h:26
void setZ(double)
Set value for Z angle (yaw angle)
Definition: Rotation.cpp:94
Rotation widget has three dials for rotation in X,Y,Z direction.
Definition: Rotation.h:30
double y() const
Return y angle (pitch) value as double.
Definition: Rotation.cpp:74
Dial * y_
Definition: Rotation.h:86
void setX(double)
Set value for X angle (roll angle)
Definition: Rotation.cpp:84
void init(double, double, double)
Definition: Rotation.cpp:41
Dial * x_
Definition: Rotation.h:85
~Rotation()
Definition: Rotation.cpp:38
void setRotation(EulerAngles const &)
Set rotation from euler angles.
Definition: Rotation.cpp:120
void updateY()
Definition: Rotation.cpp:106
EulerAngles angles() const
Return x,y,z values as euler angles.
double x() const
Return x angle (roll) value as double.
Definition: Rotation.cpp:69
Dial * z_
Definition: Rotation.h:87
double z() const
Return z angle (yaw) value as double.
Definition: Rotation.cpp:79
Circular dial widget with range value and editor.
Definition: Dial.h:33
Rotation(QWidget *=nullptr)
Construct from optional parent widget.
Definition: Rotation.cpp:26
void updateZ()
Definition: Rotation.cpp:113
void updateX()
Definition: Rotation.cpp:99