VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)