Public Types | |
typedef aiQuaternion | elem_type |
Public Member Functions | |
aiQuatKey (double time, const aiQuaternion &value) | |
Construction from a given time and key value. | |
aiQuatKey () | |
Default constructor. | |
bool | operator!= (const aiQuatKey &o) const |
bool | operator< (const aiQuatKey &o) const |
Relational operators. | |
bool | operator== (const aiQuatKey &o) const |
Comparison operators. | |
bool | operator> (const aiQuatKey &o) const |
Public Attributes | |
double | mTime |
The time of this key. | |
aiQuaternion | mValue |
The value of this key. |
For joint animations the rotation is usually expressed using a quaternion.
typedef aiQuaternion aiQuatKey::elem_type |
aiQuatKey::aiQuatKey | ( | ) | [inline] |
Default constructor.
aiQuatKey::aiQuatKey | ( | double | time, | |
const aiQuaternion & | value | |||
) | [inline] |
Construction from a given time and key value.
bool aiQuatKey::operator!= | ( | const aiQuatKey & | o | ) | const [inline] |
bool aiQuatKey::operator< | ( | const aiQuatKey & | o | ) | const [inline] |
Relational operators.
Just the key time is compared For use with std::sort();
bool aiQuatKey::operator== | ( | const aiQuatKey & | o | ) | const [inline] |
Comparison operators.
Just the key value is compared For use with std::find();
bool aiQuatKey::operator> | ( | const aiQuatKey & | o | ) | const [inline] |
double aiQuatKey::mTime |
The time of this key.
The value of this key.