32 return std::make_unique<RotationX>(alpha);
48 return std::make_unique<RotationY>(alpha);
64 return std::make_unique<RotationZ>(alpha);
75 setToolTip(
"Sequence of three rotations following Euler angles \n"
87 return std::make_unique<RotationEuler>(alpha, beta, gamma);
Defines class RotationItems.
Defines IRotation classes.
Defines some unit conversion factors and other constants in namespace Units.
static const QString P_BETA
static const QString P_ALPHA
std::unique_ptr< IRotation > createRotation() const
static const QString P_GAMMA
SessionItem * addProperty(const QString &name, const QVariant &variant)
Add new property item and register new tag.
QVariant getItemValue(const QString &tag) const
Directly access value of item under given tag.
SessionItem & setToolTip(const QString &tooltip)
static const QString P_ANGLE
std::unique_ptr< IRotation > createRotation() const
static const QString P_ANGLE
std::unique_ptr< IRotation > createRotation() const
static const QString P_ANGLE
std::unique_ptr< IRotation > createRotation() const
double deg2rad(double angle)