Public Types | Public Slots | Signals | Public Member Functions | Protected Slots | Private Slots | Private Attributes | List of all members
EulerWidget Class Reference

#include <EulerWidget.h>

Inheritance diagram for EulerWidget:
Inheritance graph
[legend]

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 More...
 
void valueChanged (const Eigen::Quaterniond &q)
 quaternion value has changed More...
 

Public Member Functions

 EulerWidget (QWidget *parent=nullptr)
 
void getGuiAngles (double e[]) const
 retrieve angles from GUI More...
 
void getGuiAxes (uint a[3]) const
 retrieve indices of axes selected in GUI More...
 
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_
 

Detailed Description

Definition at line 41 of file EulerWidget.h.

Member Enumeration Documentation

Enumerator

Definition at line 45 of file EulerWidget.h.

Constructor & Destructor Documentation

EulerWidget::EulerWidget ( QWidget *  parent = nullptr)
explicit

Definition at line 54 of file EulerWidget.cpp.

Member Function Documentation

void EulerWidget::angleChanged ( double  angle)
protectedslot

Definition at line 116 of file EulerWidget.cpp.

void EulerWidget::axesChanged ( uint  a1,
uint  a2,
uint  a3 
)
signal

euler axis selection changed

void EulerWidget::axisChanged ( int  axis)
protectedslot

Definition at line 97 of file EulerWidget.cpp.

void EulerWidget::getGuiAngles ( double  e[]) const

retrieve angles from GUI

Definition at line 90 of file EulerWidget.cpp.

void EulerWidget::getGuiAxes ( uint  a[3]) const

retrieve indices of axes selected in GUI

Definition at line 84 of file EulerWidget.cpp.

void EulerWidget::setEulerAngles ( double  e1,
double  e2,
double  e3,
bool  normalize 
)
slot

Definition at line 122 of file EulerWidget.cpp.

void EulerWidget::setEulerAxes ( uint  a1,
uint  a2,
uint  a3 
)
slot

Definition at line 151 of file EulerWidget.cpp.

void EulerWidget::setValue ( const Eigen::Quaterniond &  q)
slot

Definition at line 169 of file EulerWidget.cpp.

void EulerWidget::updateAngles ( )
privateslot

Definition at line 182 of file EulerWidget.cpp.

const Eigen::Quaterniond & EulerWidget::value ( ) const

Definition at line 177 of file EulerWidget.cpp.

void EulerWidget::valueChanged ( const Eigen::Quaterniond &  q)
signal

quaternion value has changed

Member Data Documentation

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.


The documentation for this class was generated from the following files:


agni_tf_tools
Author(s): Robert Haschke
autogenerated on Tue Apr 13 2021 02:29:55