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=0)
 
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 = 0)
explicit

Definition at line 53 of file EulerWidget.cpp.

Member Function Documentation

void EulerWidget::angleChanged ( double  angle)
protectedslot

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)
protectedslot

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 ( )
privateslot

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

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 Fri Jun 7 2019 22:04:59