#include <mlFields.h>

Public Member Functions | |
| RotationField (const std::string &name="") | |
| Constructor: Create a field with name name to manage a vector of 4 double values interpreted as rotation. | |
| void | setRotationValue (const Vector3 &vec, double angle) |
| Set rotation as rotation axes and angle how much to rotate. | |
| void | setRotationValue (const Rotation &rot) |
| Sets rotation value by a rotation instance. | |
| void | getRotationValue (Vector3 &vec, double &angle) const |
| Returns rotation as vector and rotation angle. | |
| Rotation | getRotationValue () const |
| Returns rotation value as a rotation class instance. | |
Definition at line 2632 of file mlFields.h.
| ml::RotationField::RotationField | ( | const std::string & | name = "" |
) | [inline] |
Constructor: Create a field with name name to manage a vector of 4 double values interpreted as rotation.
Definition at line 2640 of file mlFields.h.
| Rotation ml::RotationField::getRotationValue | ( | ) | const |
Returns rotation value as a rotation class instance.
| void ml::RotationField::getRotationValue | ( | Vector3 & | vec, | |
| double & | angle | |||
| ) | const |
Returns rotation as vector and rotation angle.
| void ml::RotationField::setRotationValue | ( | const Rotation & | rot | ) |
Sets rotation value by a rotation instance.
| void ml::RotationField::setRotationValue | ( | const Vector3 & | vec, | |
| double | angle | |||
| ) |
Set rotation as rotation axes and angle how much to rotate.
1.5.8