#include <EulerWidget.h>
Public Types | |
enum | Axis { X = 0, Y = 1, Z = 2 } |
Public Slots | |
void | setEulerAngles (double e1, double e2, double e3, bool normalize) |
void | setEulerAxes (uint a1, uint a2, uint a3) |
void | setValue (const Eigen::Quaterniond &q) |
Signals | |
void | axesChanged (uint a1, uint a2, uint a3) |
euler axis selection changed | |
void | valueChanged (const Eigen::Quaterniond &q) |
quaternion value has changed | |
Public Member Functions | |
EulerWidget (QWidget *parent=0) | |
void | getGuiAngles (double e[]) const |
retrieve angles from GUI | |
void | getGuiAxes (uint a[3]) const |
retrieve indices of axes selected in GUI | |
const Eigen::Quaterniond & | value () const |
Protected Slots | |
void | angleChanged (double angle) |
void | axisChanged (int axis) |
Private Slots | |
void | updateAngles () |
Private Attributes | |
Eigen::Quaterniond | q_ |
Ui::EulerWidget * | ui_ |
Definition at line 41 of file EulerWidget.h.
enum EulerWidget::Axis |
Definition at line 45 of file EulerWidget.h.
EulerWidget::EulerWidget | ( | QWidget * | parent = 0 | ) | [explicit] |
Definition at line 53 of file EulerWidget.cpp.
void EulerWidget::angleChanged | ( | double | angle | ) | [protected, slot] |
Definition at line 115 of file EulerWidget.cpp.
void EulerWidget::axesChanged | ( | uint | a1, |
uint | a2, | ||
uint | a3 | ||
) | [signal] |
euler axis selection changed
void EulerWidget::axisChanged | ( | int | axis | ) | [protected, slot] |
Definition at line 96 of file EulerWidget.cpp.
void EulerWidget::getGuiAngles | ( | double | e[] | ) | const |
retrieve angles from GUI
Definition at line 89 of file EulerWidget.cpp.
void EulerWidget::getGuiAxes | ( | uint | a[3] | ) | const |
retrieve indices of axes selected in GUI
Definition at line 83 of file EulerWidget.cpp.
void EulerWidget::setEulerAngles | ( | double | e1, |
double | e2, | ||
double | e3, | ||
bool | normalize | ||
) | [slot] |
Definition at line 120 of file EulerWidget.cpp.
void EulerWidget::setEulerAxes | ( | uint | a1, |
uint | a2, | ||
uint | a3 | ||
) | [slot] |
Definition at line 148 of file EulerWidget.cpp.
void EulerWidget::setValue | ( | const Eigen::Quaterniond & | q | ) | [slot] |
Definition at line 166 of file EulerWidget.cpp.
void EulerWidget::updateAngles | ( | ) | [private, slot] |
Definition at line 178 of file EulerWidget.cpp.
const Eigen::Quaterniond & EulerWidget::value | ( | ) | const |
Definition at line 173 of file EulerWidget.cpp.
void EulerWidget::valueChanged | ( | const Eigen::Quaterniond & | q | ) | [signal] |
quaternion value has changed
Eigen::Quaterniond EulerWidget::q_ [private] |
Definition at line 75 of file EulerWidget.h.
Ui::EulerWidget* EulerWidget::ui_ [private] |
Definition at line 76 of file EulerWidget.h.