CS::Animation::AnimatedMeshState Class Reference
[Mesh plugins]
Holds the state of an animesh skeleton for a frame, ie the position and rotation of each bone of the skeleton. More...
#include <imesh/skeleton2.h>
Inheritance diagram for CS::Animation::AnimatedMeshState:

Public Member Functions | |
| AnimatedMeshState () | |
| Constructor. | |
| size_t | GetBoneCount () const |
| Return the count of bones of this skeleton state. | |
| csQuaternion & | GetQuaternion (size_t i) |
| Return the rotation quaternion of the given bone, in bone space. | |
| const csQuaternion & | GetQuaternion (size_t i) const |
| Return the rotation quaternion of the given bone, in bone space. | |
| csVector3 & | GetVector (size_t i) |
| Return the position vector of the given bone, in bone space. | |
| const csVector3 & | GetVector (size_t i) const |
| Return the position vector of the given bone, in bone space. | |
| bool | IsBoneUsed (BoneID bone) const |
| Return true if the position and rotation values have been set for the given bone, false otherwise (last position and rotation values which have been set for this bone will therefore be kept). | |
| void | Reset () |
| Mark all bones as not used. | |
| void | SetBoneUsed (BoneID bone) |
| Mark that the position and rotation values have been set for the given bone. | |
| void | Setup (size_t numBones) |
| Initialize the skeleton state. | |
| virtual | ~AnimatedMeshState () |
| Destructor. | |
Detailed Description
Holds the state of an animesh skeleton for a frame, ie the position and rotation of each bone of the skeleton.
These transforms are in bind space.
Definition at line 438 of file skeleton2.h.
Constructor & Destructor Documentation
| CS::Animation::AnimatedMeshState::AnimatedMeshState | ( | ) | [inline] |
Constructor.
Definition at line 443 of file skeleton2.h.
The documentation for this class was generated from the following file:
- imesh/skeleton2.h
Generated for Crystal Space 2.0 by doxygen 1.6.1
