Class RotationProperty

Inheritance Relationships

Base Type

  • public rviz_common::properties::StringProperty

Class Documentation

class RotationProperty : public rviz_common::properties::StringProperty

Public Functions

RotationProperty(rviz_common::properties::Property *parent = nullptr, const QString &name = QString(), const Eigen::Quaterniond &value = Eigen::Quaterniond::Identity(), const char *changed_slot = nullptr, QObject *receiver = nullptr)
Eigen::Quaterniond getQuaternion() const
bool setValue(const QVariant &value) override
void load(const rviz_common::Config &config) override

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

void save(rviz_common::Config config) const override
void setReadOnly(bool read_only) override

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

Public Slots

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

Signals

void quaternionChanged(Eigen::Quaterniond q)

signal emitted when quaternion value has changed

void statusUpdate(rviz_common::properties::StatusProperty::Level, const QString&, const QString&)

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