![]() |
Atoms Crowd
7.0.0
|
#include <Poser.h>
Public Member Functions | |
| Poser (const Skeleton *skeleton) | |
| Constructor. More... | |
| ~Poser () | |
| Destructor. | |
| Matrix | getWorldMatrix (const Pose &pose, unsigned int jointId) const |
| Gets the joint world matrix. More... | |
| std::vector< Matrix > | getAllWorldMatrix (const Pose &pose) const |
| Gets the world matrices of all the joints. More... | |
| void | getAllWorldMatrixInPlace (const Pose &pose, std::vector< Matrix > &poseMatrices) const |
| Gets the world matrices of all the joints. More... | |
| void | getAllWorldMatrixInPlace (const Pose &pose, std::vector< Matrixf > &poseMatrices) const |
| Matrix | getWorldBindMatrix (unsigned int jointId) const |
| Gets the joint bind world matrix. More... | |
| std::vector< Matrix > | getAllWorldBindMatrix () const |
| Gets the world bind matrices of all the joints. More... | |
| void | getAllWorldBindMatrixInPlace (std::vector< Matrix > &outMatrices) const |
| Gets the world bind matrices of all the joints. More... | |
| void | setWorldMatrix (Pose &pose, const Matrix &matrix, unsigned short jointId) const |
| Sets the joint world matrix. More... | |
| const Skeleton * | skeleton () const |
| Returns the skeleton. More... | |
Poser class.
The poser is used to get and set the world matrices and world bind matrices of a pose. This class takes the data it needs from the given pose and skeleton.
| std::vector<Matrix> AtomsCore::Poser::getAllWorldBindMatrix | ( | ) | const |
Gets the world bind matrices of all the joints.
| pose | Pose |
| void AtomsCore::Poser::getAllWorldBindMatrixInPlace | ( | std::vector< Matrix > & | outMatrices | ) | const |
Gets the world bind matrices of all the joints.
| pose | Pose |
| poseMatrice | Vector of world bind matrices |
| void AtomsCore::Poser::getAllWorldMatrixInPlace | ( | const Pose & | pose, |
| std::vector< Matrix > & | poseMatrices | ||
| ) | const |
Gets the world matrices of all the joints.
| pose | Pose |
| poseMatrices | Out vector of world matrices |
| Matrix AtomsCore::Poser::getWorldBindMatrix | ( | unsigned int | jointId | ) | const |