Antkeeper
0.0.1
|
Euler angle IK constraint. More...
#include <euler-ik-constraint.hpp>
Public Member Functions | |
void | solve (math::fquat &q) override |
Solves the constraint. More... | |
void | set_rotation_sequence (math::rotation_sequence sequence) noexcept |
Sets the rotation sequence of the Euler angles of the constraint. More... | |
void | set_min_angles (const math::fvec3 &angles) noexcept |
Sets the minimum Euler angles of the constraint. More... | |
void | set_max_angles (const math::fvec3 &angles) noexcept |
Sets the maximum Euler angles of the constraint. More... | |
constexpr math::rotation_sequence | get_rotation_sequence () const noexcept |
Returns the rotation sequence of the Euler angles of the constraint. More... | |
constexpr const math::fvec3 & | get_min_angles () const noexcept |
Returns the minimum angles of the first, second, and third Euler angles, in radians. More... | |
constexpr const math::fvec3 & | get_max_angles () const noexcept |
Returns the maximum angles of the first, second, and third Euler angles, in radians. More... | |
Euler angle IK constraint.
Definition at line 30 of file euler-ik-constraint.hpp.
|
inlineconstexprnoexcept |
Returns the maximum angles of the first, second, and third Euler angles, in radians.
Definition at line 78 of file euler-ik-constraint.hpp.
|
inlineconstexprnoexcept |
Returns the minimum angles of the first, second, and third Euler angles, in radians.
Definition at line 72 of file euler-ik-constraint.hpp.
|
inlineconstexprnoexcept |
Returns the rotation sequence of the Euler angles of the constraint.
Definition at line 66 of file euler-ik-constraint.hpp.
|
inlinenoexcept |
Sets the maximum Euler angles of the constraint.
angles | Maximum angles of the first, second, and third Euler angles, in radians. |
Definition at line 60 of file euler-ik-constraint.hpp.
|
inlinenoexcept |
Sets the minimum Euler angles of the constraint.
angles | Minimum angles of the first, second, and third Euler angles, in radians. |
Definition at line 50 of file euler-ik-constraint.hpp.
|
inlinenoexcept |
Sets the rotation sequence of the Euler angles of the constraint.
sequence | Euler angle rotation sequence. |
Definition at line 40 of file euler-ik-constraint.hpp.
|
overridevirtual |
Solves the constraint.
[in,out] | q | Unit quaternion representing the rotation of a joint. |
Implements ik_constraint.
Definition at line 24 of file euler-ik-constraint.cpp.