Public Slots | Signals | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
agni_tf_tools::RotationProperty Class Reference

#include <rotation_property.h>

Inheritance diagram for agni_tf_tools::RotationProperty:
Inheritance graph
[legend]

Public Slots

void setEulerAngles (double euler[3], bool normalize)
 
void setEulerAngles (double e1, double e2, double e3, bool normalize)
 
void setEulerAxes (const QString &axes)
 
void setQuaternion (const Eigen::Quaterniond &q)
 
- Public Slots inherited from rviz::StringProperty
bool setStdString (const std::string &std_str)
 
bool setString (const QString &str)
 

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

Eigen::Quaterniond getQuaternion () const
 
virtual void load (const rviz::Config &config)
 Load the value of this property and/or its children from the given Config node. More...
 
 RotationProperty (Property *parent=0, const QString &name=QString(), const Eigen::Quaterniond &value=Eigen::Quaterniond::Identity(), const char *changed_slot=0, QObject *receiver=0)
 
virtual void save (rviz::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::StringProperty
std::string getStdString ()
 
QString getString ()
 
 StringProperty (const QString &name=QString(), const QString &default_value=QString(), const QString &description=QString(), Property *parent=0, const char *changed_slot=0, QObject *receiver=0)
 
- 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 updateFromEuler ()
 
void updateFromQuaternion ()
 

Private Member Functions

void updateString ()
 

Private Attributes

rviz::EulerPropertyeuler_property_
 
bool ignore_quaternion_property_updates_
 
rviz::QuaternionPropertyquaternion_property_
 
bool show_euler_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 rotation_property.h.

Constructor & Destructor Documentation

agni_tf_tools::RotationProperty::RotationProperty ( 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 39 of file rotation_property.cpp.

Member Function Documentation

Eigen::Quaterniond agni_tf_tools::RotationProperty::getQuaternion ( ) const

Definition at line 64 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::load ( const rviz::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 148 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::quaternionChanged ( Eigen::Quaterniond  q)
signal

signal emitted when quaternion value has changed

void agni_tf_tools::RotationProperty::save ( rviz::Config  config) const
virtual

Reimplemented from rviz::Property.

Definition at line 154 of file rotation_property.cpp.

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

Definition at line 113 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::setEulerAxes ( const QString &  axes)
slot

Definition at line 118 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::setQuaternion ( const Eigen::Quaterniond &  q)
slot

Definition at line 69 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::setReadOnly ( bool  read_only)
virtual

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

Reimplemented from rviz::Property.

Definition at line 160 of file rotation_property.cpp.

bool agni_tf_tools::RotationProperty::setValue ( const QVariant &  value)
virtual

Reimplemented from rviz::Property.

Definition at line 123 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::statusUpdate ( int  ,
const QString &  ,
const QString &   
)
signal

signal emitted to indicate error status, e.g. to a rviz::Display

void agni_tf_tools::RotationProperty::updateFromEuler ( )
privateslot

Definition at line 78 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::updateFromQuaternion ( )
privateslot

Definition at line 89 of file rotation_property.cpp.

void agni_tf_tools::RotationProperty::updateString ( )
private

Definition at line 136 of file rotation_property.cpp.

Member Data Documentation

rviz::EulerProperty* agni_tf_tools::RotationProperty::euler_property_
private

Definition at line 84 of file rotation_property.h.

bool agni_tf_tools::RotationProperty::ignore_quaternion_property_updates_
private

Definition at line 86 of file rotation_property.h.

rviz::QuaternionProperty* agni_tf_tools::RotationProperty::quaternion_property_
private

Definition at line 85 of file rotation_property.h.

bool agni_tf_tools::RotationProperty::show_euler_string_
private

Definition at line 87 of file rotation_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