A skeleton loaded from a model. More...
#include <SkeletonModel.h>
Public Member Functions | |
| Q_INVOKABLE void | setURL (const QUrl &url) override |
| Sets the URL of the model to render. | |
| int | getLeftHandJointIndex () const |
| Returns the index of the left hand joint, or -1 if not found. | |
| int | getRightHandJointIndex () const |
| Returns the index of the right hand joint, or -1 if not found. | |
| bool | getLeftHandPosition (glm::vec3 &position) const |
| bool | getRightHandPosition (glm::vec3 &position) const |
| float | getLeftArmLength () const |
| Returns the extended length from the left hand to its last free ancestor. | |
| bool | getHeadPosition (glm::vec3 &headPosition) const |
| bool | getNeckPosition (glm::vec3 &neckPosition) const |
| bool | getEyePositions (glm::vec3 &firstEyePosition, glm::vec3 &secondEyePosition) const |
| glm::vec3 | getDefaultEyeModelPosition () const |
A skeleton loaded from a model.
| glm::vec3 SkeletonModel::getDefaultEyeModelPosition | ( | ) | const |
Gets the default position of the mid eye point in model frame coordinates.
| bool SkeletonModel::getEyePositions | ( | glm::vec3 & | firstEyePosition, |
| glm::vec3 & | secondEyePosition | ||
| ) | const |
Retrieve the positions of up to two eye meshes.
| bool SkeletonModel::getHeadPosition | ( | glm::vec3 & | headPosition | ) | const |
Returns the position of the head joint.
| bool SkeletonModel::getLeftHandPosition | ( | glm::vec3 & | position | ) | const |
Retrieve the position of the left hand
| bool SkeletonModel::getNeckPosition | ( | glm::vec3 & | neckPosition | ) | const |
Returns the position of the neck joint.
| bool SkeletonModel::getRightHandPosition | ( | glm::vec3 & | position | ) | const |
Retrieve the position of the right hand