|
WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
|
Generic animated value class that reads keyframe data from M2 files. More...
#include <animated.h>
Public Member Functions | |
| bool | uses (ssize_t anim) const |
| T | getValue (ssize_t anim, size_t time) |
| void | init (AnimationBlock &b, GameFile *f, std::vector< uint32 > &gs) |
| void | init (AnimationBlock &b, GameFile &f, const modelAnimData &modelData) |
Public Attributes | |
| ssize_t | type |
| ssize_t | seq |
| std::vector< uint32 > | globals |
| std::vector< size_t > | times [MAX_ANIMATED] |
| std::vector< T > | data [MAX_ANIMATED] |
| std::vector< T > | in [MAX_ANIMATED] |
| std::vector< T > | out [MAX_ANIMATED] |
| size_t | sizes |
Friends | |
| std::ostream & | operator<< (std::ostream &outVal, const Animated &v) |
Generic animated value class that reads keyframe data from M2 files.
| T | The runtime data type to animate. |
| D | The data type stored on disk (defaults to T). |
| Conv | A conversion functor with static T conv(D) (defaults to Identity). |
Definition at line 160 of file animated.h.
|
inline |
|
inline |
|
inline |
Definition at line 264 of file animated.h.
|
inline |
|
friend |
Definition at line 508 of file animated.h.
| std::vector<T> Animated< T, D, Conv >::data[MAX_ANIMATED] |
Definition at line 166 of file animated.h.
| std::vector<uint32> Animated< T, D, Conv >::globals |
Definition at line 164 of file animated.h.
| std::vector<T> Animated< T, D, Conv >::in[MAX_ANIMATED] |
Definition at line 168 of file animated.h.
| std::vector<T> Animated< T, D, Conv >::out[MAX_ANIMATED] |
Definition at line 168 of file animated.h.
| ssize_t Animated< T, D, Conv >::seq |
Definition at line 163 of file animated.h.
| size_t Animated< T, D, Conv >::sizes |
Definition at line 169 of file animated.h.
| std::vector<size_t> Animated< T, D, Conv >::times[MAX_ANIMATED] |
Definition at line 165 of file animated.h.
| ssize_t Animated< T, D, Conv >::type |
Definition at line 163 of file animated.h.