|
Assimp
v3.1.1 (June 2014)
|
Helper class to iterate through all keys in an animation channel. More...
Public Member Functions | |
| bool | Finished () const |
| Returns true if all keys have been processed. More... | |
| const aiVector3D & | GetCurPosition () const |
| Getters to retrieve the current state of the iterator. More... | |
| const aiVector3D & | GetCurTargetPosition () const |
| double | GetCurTime () const |
| KeyIterator (const std::vector< aiVectorKey > *_objPos, const std::vector< aiVectorKey > *_targetObjPos, const aiVector3D *defaultObjectPos=NULL, const aiVector3D *defaultTargetPos=NULL) | |
| Constructs a new key iterator. More... | |
| void | operator++ () |
| Increment the iterator. More... | |
| void | operator++ (int) |
Helper class to iterate through all keys in an animation channel.
Missing tracks are interpolated. This is a helper class for TargetAnimationHelper, but it can be freely used for other purposes.
| KeyIterator::KeyIterator | ( | const std::vector< aiVectorKey > * | _objPos, |
| const std::vector< aiVectorKey > * | _targetObjPos, | ||
| const aiVector3D * | defaultObjectPos = NULL, |
||
| const aiVector3D * | defaultTargetPos = NULL |
||
| ) |
Constructs a new key iterator.
| _objPos | Object position track. May be NULL. |
| _targetObjPos | Target object position track. May be NULL. |
| defaultObjectPos | Default object position to be used if no animated track is available. May be NULL. |
| defaultTargetPos | Default target position to be used if no animated track is available. May be NULL. |
|
inline |
Returns true if all keys have been processed.
|
inline |
Getters to retrieve the current state of the iterator.
|
inline |
|
inline |
| void KeyIterator::operator++ | ( | ) |
Increment the iterator.
|
inline |