aiQuatKey Struct Reference

A time-value pair specifying a rotation for the given time. More...

List of all members.

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.


Detailed Description

A time-value pair specifying a rotation for the given time.

For joint animations the rotation is usually expressed using a quaternion.


Member Typedef Documentation


Constructor & Destructor Documentation

aiQuatKey::aiQuatKey (  )  [inline]

Default constructor.

aiQuatKey::aiQuatKey ( double  time,
const aiQuaternion value 
) [inline]

Construction from a given time and key value.


Member Function Documentation

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]


Member Data Documentation

The time of this key.

The value of this key.


The documentation for this struct was generated from the following file:

Generated on Sat Apr 17 18:41:24 2010 for Assimp by  doxygen 1.5.8