- Cal3D 0.11 API Reference -
src
cal3d
coremorphkeyframe.h
1
//****************************************************************************//
2
// coreMorphKeyframe.h //
3
// Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger //
4
//****************************************************************************//
5
// This library is free software; you can redistribute it and/or modify it //
6
// under the terms of the GNU Lesser General Public License as published by //
7
// the Free Software Foundation; either version 2.1 of the License, or (at //
8
// your option) any later version. //
9
//****************************************************************************//
10
11
#ifndef CAL_COREMORPHKEYFRAME_H
12
#define CAL_COREMORPHKEYFRAME_H
13
14
//****************************************************************************//
15
// Includes //
16
//****************************************************************************//
17
18
#include "cal3d/global.h"
19
#include "cal3d/matrix.h"
20
#include "cal3d/vector.h"
21
#include "cal3d/quaternion.h"
22
23
//****************************************************************************//
24
// Class declaration //
25
//****************************************************************************//
26
27
/*****************************************************************************/
31
class
CAL3D_API
CalCoreMorphKeyframe
32
{
33
// member variables
34
protected
:
35
float
m_time;
36
float
m_weight;
37
38
// constructors/destructor
39
public
:
40
CalCoreMorphKeyframe
();
41
virtual
~
CalCoreMorphKeyframe
();
42
43
// member functions
44
public
:
45
bool
create();
46
void
destroy();
47
float
getTime()
const
;
48
void
setTime(
float
time);
49
50
float
getWeight()
const
;
51
void
setWeight(
float
);
52
};
53
54
#endif
55
56
//****************************************************************************//
CalCoreMorphKeyframe
The core keyframe class.
Definition:
coremorphkeyframe.h:31
Generated by
The Cal3D Team
with
Doxygen 1.8.14