Classes | Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
rviz::EulerProperty Class Reference

#include <euler_property.h>

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

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 &)
 
- Signals inherited from rviz::Property
void aboutToChange ()
 
void changed ()
 
void childListChanged (Property *this_property)
 

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. More...
 
virtual void save (Config config) const
 
virtual void setReadOnly (bool read_only)
 Overridden from Property to propagate read-only-ness to children. More...
 
virtual bool setValue (const QVariant &value)
 
- Public Member Functions inherited from rviz::Property
virtual void addChild (Property *child, int index=-1)
 
PropertychildAt (int index) const
 
virtual PropertychildAtUnchecked (int index) const
 
virtual void collapse ()
 
bool contains (Property *possible_child) const
 
virtual QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option)
 
virtual void expand ()
 
virtual QString getDescription () const
 
virtual bool getDisableChildren ()
 
virtual bool getHidden () const
 
virtual QIcon getIcon () const
 
PropertyTreeModelgetModel () const
 
virtual QString getName () const
 
std::string getNameStd () const
 
PropertygetParent () const
 
virtual bool getReadOnly ()
 
virtual QVariant getValue () const
 
virtual QVariant getViewData (int column, int role) const
 
virtual Qt::ItemFlags getViewFlags (int column) const
 
void hide ()
 
bool isAncestorOf (Property *possible_child) const
 
virtual void moveChild (int from_index, int to_index)
 
virtual int numChildren () const
 
virtual bool paint (QPainter *painter, const QStyleOptionViewItem &option) const
 
 Property (const QString &name=QString(), const QVariant default_value=QVariant(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
virtual void removeChildren (int start_index=0, int count=-1)
 
int rowNumberInParent () const
 
virtual void setDescription (const QString &description)
 
virtual void setHidden (bool hidden)
 
virtual void setIcon (const QIcon &icon)
 
void setModel (PropertyTreeModel *model)
 
virtual void setName (const QString &name)
 
void setParent (Property *new_parent)
 
void setShouldBeSaved (bool save)
 
bool shouldBeSaved () const
 
void show ()
 
virtual PropertysubProp (const QString &sub_name)
 
PropertytakeChild (Property *child)
 
virtual PropertytakeChildAt (int index)
 
virtual ~Property ()
 

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_
 

Additional Inherited Members

- Protected Member Functions inherited from rviz::Property
void loadValue (const Config &config)
 
- Protected Attributes inherited from rviz::Property
bool child_indexes_valid_
 
QIcon icon_
 
PropertyTreeModelmodel_
 
QVariant value_
 

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

Definition at line 245 of file euler_property.cpp.

bool rviz::EulerProperty::getAnglesReadOnly ( )
inline

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

Definition at line 233 of file euler_property.cpp.

void rviz::EulerProperty::updateString ( )
private

Definition at line 262 of file euler_property.cpp.

Member Data Documentation

bool rviz::EulerProperty::angles_read_only_
private

Definition at line 102 of file euler_property.h.

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

Definition at line 98 of file euler_property.h.

QString rviz::EulerProperty::axes_string_
private

Definition at line 97 of file euler_property.h.

FloatProperty* rviz::EulerProperty::euler_[3]
private

Definition at line 100 of file euler_property.h.

bool rviz::EulerProperty::fixed_
private

Definition at line 99 of file euler_property.h.

bool rviz::EulerProperty::ignore_child_updates_
private

Definition at line 101 of file euler_property.h.

Eigen::Quaterniond rviz::EulerProperty::quaternion_
private

Definition at line 96 of file euler_property.h.

bool rviz::EulerProperty::update_string_
private

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