Classes | Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes
rviz::EulerProperty Class Reference

#include <euler_property.h>

Inheritance diagram for rviz::EulerProperty:
Inheritance graph
[legend]

List of all members.

Classes

class  invalid_axes

Public Slots

void setEulerAngles (double euler[3], bool normalize)
void setEulerAngles (double e1, double e2, double e3, bool normalize)
void setEulerAxes (const QString &axes_spec)
void setQuaternion (const Eigen::Quaterniond &q)

Signals

void quaternionChanged (Eigen::Quaterniond q)
void statusUpdate (int, const QString &, const QString &)

Public Member Functions

 EulerProperty (Property *parent=0, const QString &name=QString(), const Eigen::Quaterniond &value=Eigen::Quaterniond::Identity(), const char *changed_slot=0, QObject *receiver=0)
bool getAnglesReadOnly ()
Eigen::Quaterniond getQuaternion () const
virtual void load (const Config &config)
 Load the value of this property and/or its children from the given Config node.
virtual void save (Config config) const
virtual void setReadOnly (bool read_only)
 Overridden from Property to propagate read-only-ness to children.
virtual bool setValue (const QVariant &value)

Private Slots

void emitAboutToChange ()
void updateFromChildren ()

Private Member Functions

void updateAngles (const Eigen::Quaterniond &q)
void updateString ()

Private Attributes

bool angles_read_only_
uint axes_ [3]
QString axes_string_
FloatPropertyeuler_ [3]
bool fixed_
bool ignore_child_updates_
Eigen::Quaterniond quaternion_
bool update_string_

Detailed Description

Definition at line 45 of file euler_property.h.


Constructor & Destructor Documentation

rviz::EulerProperty::EulerProperty ( Property parent = 0,
const QString &  name = QString(),
const Eigen::Quaterniond &  value = Eigen::Quaterniond::Identity(),
const char *  changed_slot = 0,
QObject *  receiver = 0 
)

Definition at line 48 of file euler_property.cpp.


Member Function Documentation

void rviz::EulerProperty::emitAboutToChange ( ) [private, slot]

Definition at line 245 of file euler_property.cpp.

Definition at line 70 of file euler_property.h.

Eigen::Quaterniond rviz::EulerProperty::getQuaternion ( ) const [inline]

Definition at line 60 of file euler_property.h.

void rviz::EulerProperty::load ( const Config config) [virtual]

Load the value of this property and/or its children from the given Config node.

Reimplemented from rviz::Property.

Definition at line 273 of file euler_property.cpp.

void rviz::EulerProperty::quaternionChanged ( Eigen::Quaterniond  q) [signal]

signal emitted when quaternion value has changed

void rviz::EulerProperty::save ( Config  config) const [virtual]

Reimplemented from rviz::Property.

Definition at line 291 of file euler_property.cpp.

void rviz::EulerProperty::setEulerAngles ( double  euler[3],
bool  normalize 
) [slot]
void rviz::EulerProperty::setEulerAngles ( double  e1,
double  e2,
double  e3,
bool  normalize 
) [slot]

Definition at line 117 of file euler_property.cpp.

void rviz::EulerProperty::setEulerAxes ( const QString &  axes_spec) [slot]

select Euler axes from string, allowed values are "rpy", "ypr", x,y,z r or s in front of x,y,z chooses application order, i.e. with respect to rotated or fixed frame

Definition at line 123 of file euler_property.cpp.

void rviz::EulerProperty::setQuaternion ( const Eigen::Quaterniond &  q) [slot]

Definition at line 74 of file euler_property.cpp.

void rviz::EulerProperty::setReadOnly ( bool  read_only) [virtual]

Overridden from Property to propagate read-only-ness to children.

Reimplemented from rviz::Property.

Definition at line 301 of file euler_property.cpp.

bool rviz::EulerProperty::setValue ( const QVariant &  value) [virtual]

Reimplemented from rviz::Property.

Definition at line 176 of file euler_property.cpp.

void rviz::EulerProperty::statusUpdate ( int  ,
const QString &  ,
const QString &   
) [signal]

signal emitted when there was an error, e.g. with Euler axes

void rviz::EulerProperty::updateAngles ( const Eigen::Quaterniond &  q) [private]

Definition at line 251 of file euler_property.cpp.

void rviz::EulerProperty::updateFromChildren ( ) [private, slot]

Definition at line 233 of file euler_property.cpp.

Definition at line 262 of file euler_property.cpp.


Member Data Documentation

Definition at line 102 of file euler_property.h.

uint rviz::EulerProperty::axes_[3] [private]

Definition at line 98 of file euler_property.h.

Definition at line 97 of file euler_property.h.

Definition at line 100 of file euler_property.h.

Definition at line 99 of file euler_property.h.

Definition at line 101 of file euler_property.h.

Eigen::Quaterniond rviz::EulerProperty::quaternion_ [private]

Definition at line 96 of file euler_property.h.

Definition at line 103 of file euler_property.h.


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


agni_tf_tools
Author(s): Robert Haschke
autogenerated on Sat Jun 8 2019 21:01:20