Class EulerProperty

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public Property

Class Documentation

class EulerProperty : public Property

Public Functions

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

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

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

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

inline bool getAnglesReadOnly()

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

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

Signals

void quaternionChanged(Eigen::Quaterniond q)

signal emitted when quaternion value has changed

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

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

class invalid_axes : public std::invalid_argument

Public Functions

invalid_axes(const std::string &msg)