VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfutil
diGuyAnimation.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: diGuyAnimation.h,v $ $Revision: 1.2 $ $State: Exp $
7
** Created: 4/7/08 MEM
8
*******************************************************************************/
9
12
13
#ifndef diguyAnimation_H_
14
#define diguyAnimation_H_
15
16
#include <vlutil/vlString.h>
17
#include <vlutil/vlSmartPointers.h>
18
21
22
23
#include "
vrfutil/vrfutilDefines.h
"
24
class
DT_DLL_vrfutil
DtDIGuyAnimation
25
{
26
public
:
27
28
DtDIGuyAnimation
();
29
30
DtDIGuyAnimation
(
const
DtString
& name);
31
32
DtDIGuyAnimation
(
const
DtDIGuyAnimation
& orig);
33
34
virtual
~
DtDIGuyAnimation
();
35
36
DtDIGuyAnimation
& operator=(
const
DtDIGuyAnimation
& orig);
37
39
40
virtual
void
setAnimationName(
const
DtString
& name);
41
virtual
const
DtString
& animationName()
const
;
43
45
46
virtual
void
setDisplayName(
const
DtString
& name);
47
virtual
const
DtString
& displayName()
const
;
49
51
52
virtual
void
setDuration(
const
double
time);
53
virtual
const
double
duration()
const
;
55
57
58
virtual
void
setSpeed(
const
double
speed);
59
virtual
const
double
speed()
const
;
61
63
virtual
void
setPosture(
const
DtString
& post);
64
virtual
const
DtString
& posture()
const
;
65
67
68
virtual
void
setDirectionChange(
const
DtString
& direction);
69
virtual
const
DtString
& directionChange()
const
;
71
74
75
virtual
void
setVariant(
const
DtString
& var);
76
virtual
const
DtString
& variant()
const
;
78
80
virtual
DtDIGuyAnimation
* clone()
const
;
81
83
virtual
void
print
();
84
85
protected
:
86
87
DtString
myAnimationName
;
88
DtString
myDisplayName
;
89
DtReal
myAnimationDuration
;
90
DtReal
myAnimationSpeed
;
91
DtString
myAnimationPosture
;
92
DtString
myAnimationDirectionChange
;
93
DtString
myAnimationVariant
;
94
};
95
96
typedef
DtBoost::shared_ptr<DtDIGuyAnimation>
DtDIGuyAnimationSharedPtr
;
97
98
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)