VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrfutil
diGuyAnimation.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <vlutil/vlString.h>
12
#include <vlutil/vlSmartPointers.h>
13
22
23
24
#include "
vrfutil/vrfutilDefines.h
"
25
#include "
vrfutil/rwDIGuyAnimationEntry.h
"
26
27
class
DT_DLL_vrfutil
DtDiGuyAnimation
28
{
29
public
:
30
31
DtDiGuyAnimation
();
32
33
DtDiGuyAnimation
(
const
DtString
& name);
34
35
DtDiGuyAnimation
(
const
DtDiGuyAnimation
& orig);
36
37
virtual
~
DtDiGuyAnimation
();
38
39
DtDiGuyAnimation
& operator=(
const
DtDiGuyAnimation
& orig);
40
42
43
virtual
void
setAnimationName(
const
DtString
& name);
44
virtual
const
DtString
& animationName()
const
;
46
48
49
virtual
void
setDisplayName(
const
DtString
& name);
50
virtual
const
DtString
& displayName()
const
;
52
54
55
virtual
void
setDuration(
const
double
time);
56
virtual
const
double
duration()
const
;
58
60
61
virtual
void
setSpeed(
const
double
speed);
62
virtual
const
double
speed()
const
;
64
66
virtual
void
setPosture(
const
DtString
& post);
67
virtual
const
DtString
& posture()
const
;
68
70
71
virtual
void
setDirectionChange(
const
DtString
& direction);
72
virtual
const
DtString
& directionChange()
const
;
74
77
78
virtual
void
setVariant(
const
DtString
& var);
79
virtual
const
DtString
& variant()
const
;
81
84
85
virtual
void
setTaskableOrIntrinsic(
DtDIGuyTaskableOrIntrinisic
value);
86
virtual
DtDIGuyTaskableOrIntrinisic
taskableOrInstrinsic()
const
;
88
90
virtual
DtDiGuyAnimation
* clone()
const
;
91
93
virtual
void
print
();
94
95
protected
:
96
97
DtString
myAnimationName
;
98
DtString
myDisplayName
;
99
DtReal
myAnimationDuration
;
100
DtReal
myAnimationSpeed
;
101
DtString
myAnimationPosture
;
102
DtString
myAnimationDirectionChange
;
103
DtString
myAnimationVariant
;
104
DtDIGuyTaskableOrIntrinisic
myTaskableOrIntrinsic
;
105
};
106
107
typedef
DtBoost::shared_ptr<DtDiGuyAnimation>
DtDiGuyAnimationSharedPtr
;
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)