SO3Engine
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
v
w
x
Functions
Variables
Typedefs
a
b
c
d
f
m
p
s
Enumerations
Enumerator
b
c
e
f
h
l
m
n
p
r
s
t
x
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
f
g
i
l
m
n
o
p
s
t
u
v
w
Enumerations
a
c
d
e
f
g
h
l
n
p
r
s
v
w
Enumerator
a
b
c
d
e
f
h
l
m
n
o
p
r
s
t
v
Related Symbols
a
c
d
h
i
o
p
s
x
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
_
b
c
d
f
g
h
i
l
m
n
r
s
t
v
w
z
Variables
a
b
c
d
e
f
i
l
m
n
o
p
r
s
t
u
w
Typedefs
Enumerator
include
SO3SceneLoader
ALConverterNodeAnim.h
Go to the documentation of this file.
1
#ifndef ALCONVERTERNODEANIM_H
2
#define ALCONVERTERNODEANIM_H
3
4
#include "
ALObject.h
"
5
6
// STL
7
#include <vector>
8
9
// Tinyxml2
10
#include "
SO3SceneLoader/tinyxml2.h
"
11
12
13
namespace
SO3
14
{
15
class
ALScene;
16
17
class
ALConverterNodeAnim
18
{
19
public
:
20
ALConverterNodeAnim
(
ALScene
* scene, aiAnimation* animation, aiNodeAnim* nodeAnim, aiNode* node,
double
tickPerSec);
21
22
~ALConverterNodeAnim
();
23
24
bool
isAffected
(aiString nodeName);
25
void
convert
(
tinyxml2::XMLElement
* xmlAnimations,
bool
first =
false
);
26
void
load
(
SNode
* ogNode);
27
private
:
28
double
getTime();
29
unsigned
int
getBiggest(
unsigned
int
* data,
unsigned
int
size);
30
template
<
typename
T> T getBiggerValue(T* data,
unsigned
int
size);
31
32
aiAnimation* mAnim;
33
aiNodeAnim* mNodeAnim;
34
aiNode* mNode;
35
ALScene
* mScene;
36
double
mTickPerSec;
37
};
17
class
ALConverterNodeAnim
{
…
};
38
};
39
40
#endif
// ALCONVERTERNODEANIM_H
ALObject.h
SO3::ALConverterNodeAnim
Definition
ALConverterNodeAnim.h:18
SO3::ALConverterNodeAnim::~ALConverterNodeAnim
~ALConverterNodeAnim()
Definition
ALConverterNodeAnim.cpp:25
SO3::ALConverterNodeAnim::load
void load(SNode *ogNode)
Definition
ALConverterNodeAnim.cpp:173
SO3::ALConverterNodeAnim::isAffected
bool isAffected(aiString nodeName)
Definition
ALConverterNodeAnim.cpp:30
SO3::ALConverterNodeAnim::convert
void convert(tinyxml2::XMLElement *xmlAnimations, bool first=false)
Definition
ALConverterNodeAnim.cpp:62
SO3::ALScene
Definition
ALScene.h:31
SO3::SNode
Definition
SO3NodeScol.h:43
tinyxml2::XMLElement
Definition
tinyxml2.h:1130
SO3
Definition
SO3DataScol.h:38
tinyxml2.h
Generated by
1.9.8