My Project: openb3dlib.mod/openb3d/src/animation_keys.h Source File

My Project

animation_keys.h
Go to the documentation of this file.
1 #ifndef ANIMATION_KEYS_H
2 #define ANIMATION_KEYS_H
3
4 /*
5 * animation_keys.h
6 * iminib3d
7 *
8 * Created by Simon Harrison.
9 * Copyright Si Design. All rights reserved.
10 *
11 */
12
13
14 #include <vector>
15 using namespace std;
16
17 class AnimationKeys{
18
19 public:
20
21 int frames;
22 vector<int> flags;
23 vector<float> px;
24 vector<float> py;
25 vector<float> pz;
26 vector<float> sx;
27 vector<float> sy;
28 vector<float> sz;
29 vector<float> qw;
30 vector<float> qx;
31 vector<float> qy;
32 vector<float> qz;
33
34 AnimationKeys(){
35 frames=0;
36 }
37
38 AnimationKeys* Copy(){
39
40 AnimationKeys* keys=new AnimationKeys;
41
42 keys->frames=frames;
43 keys->flags=flags;
44 keys->px=px;
45 keys->py=py;
46 keys->pz=pz;
47 keys->sx=sx;
48 keys->sy=sy;
49 keys->sz=sz;
50 keys->qw=qw;
51 keys->qx=qx;
52 keys->qy=qy;
53 keys->qz=qz;
54
55 return keys;
56
57 }
58
59 };
60
61 #endif
AnimationKeys::px
vector< float > px
Definition: animation_keys.h:23
AnimationKeys::flags
vector< int > flags
Definition: animation_keys.h:22
AnimationKeys::sz
vector< float > sz
Definition: animation_keys.h:28
AnimationKeys::qx
vector< float > qx
Definition: animation_keys.h:30
std
AnimationKeys::pz
vector< float > pz
Definition: animation_keys.h:25
AnimationKeys::py
vector< float > py
Definition: animation_keys.h:24
AnimationKeys::qz
vector< float > qz
Definition: animation_keys.h:32
AnimationKeys
Definition: animation_keys.h:17
AnimationKeys::Copy
AnimationKeys * Copy()
Definition: animation_keys.h:38
AnimationKeys::sy
vector< float > sy
Definition: animation_keys.h:27
AnimationKeys::qw
vector< float > qw
Definition: animation_keys.h:29
AnimationKeys::qy
vector< float > qy
Definition: animation_keys.h:31
AnimationKeys::sx
vector< float > sx
Definition: animation_keys.h:26
AnimationKeys::AnimationKeys
AnimationKeys()
Definition: animation_keys.h:34
AnimationKeys::frames
int frames
Definition: animation_keys.h:21