VR-Forces 4.8 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
#include <set>
28
29
class
DT_DLL_vrfutil
DtDiGuyAnimation
30
{
31
public
:
32
33
DtDiGuyAnimation
();
34
35
DtDiGuyAnimation
(
const
DtString
& name);
36
37
DtDiGuyAnimation
(
const
DtDiGuyAnimation
& orig);
38
39
virtual
~
DtDiGuyAnimation
();
40
41
DtDiGuyAnimation
& operator=(
const
DtDiGuyAnimation
& orig);
42
44
45
virtual
void
setAnimationName(
const
DtString
& name);
46
virtual
const
DtString
& animationName()
const
;
48
50
51
virtual
void
setDisplayName(
const
DtString
& name);
52
virtual
const
DtString
& displayName()
const
;
54
56
57
virtual
void
setDuration(
const
double
time);
58
virtual
const
double
duration()
const
;
60
62
63
virtual
void
setSpeed(
const
double
speed);
64
virtual
const
double
speed()
const
;
66
68
virtual
void
setPosture(
const
DtString
& post);
69
virtual
const
DtString
& posture()
const
;
70
72
73
virtual
void
setDirectionChange(
const
DtString
& direction);
74
virtual
const
DtString
& directionChange()
const
;
76
79
80
virtual
void
addVariant(
const
DtString
& var);
81
virtual
bool
haveVariant(
const
DtString
& var)
const
;
82
virtual
const
std::set<DtString>& variants()
const
;
84
87
88
virtual
void
setTaskableOrIntrinsic(
DtDIGuyTaskableOrIntrinisic
value);
89
virtual
DtDIGuyTaskableOrIntrinisic
taskableOrInstrinsic()
const
;
91
93
virtual
DtDiGuyAnimation
* clone()
const
;
94
96
virtual
void
print
();
97
98
protected
:
99
100
DtString
myAnimationName
;
101
DtString
myDisplayName
;
102
DtReal
myAnimationDuration
;
103
DtReal
myAnimationSpeed
;
104
DtString
myAnimationPosture
;
105
DtString
myAnimationDirectionChange
;
106
DtDIGuyTaskableOrIntrinisic
myTaskableOrIntrinsic
;
107
108
std::set<DtString>
myAnimationVariants
;
109
};
110
111
typedef
DtBoost::shared_ptr<DtDiGuyAnimation>
DtDiGuyAnimationSharedPtr
;
DtDiGuyAnimation::myAnimationName
DtString myAnimationName
Definition:
diGuyAnimation.h:100
vrfutilDefines.h
DtDiGuyAnimation::myDisplayName
DtString myDisplayName
Definition:
diGuyAnimation.h:101
DtDiGuyAnimation::myAnimationPosture
DtString myAnimationPosture
Definition:
diGuyAnimation.h:104
rwDIGuyAnimationEntry.h
DtDiGuyAnimation::myAnimationDirectionChange
DtString myAnimationDirectionChange
Definition:
diGuyAnimation.h:105
DtDiGuyAnimation
The DtDiGuyAnimation class is a class that stores the DI-Guy animation information that is used to en...
Definition:
diGuyAnimation.h:29
DtDiGuyAnimation::myAnimationSpeed
DtReal myAnimationSpeed
Definition:
diGuyAnimation.h:103
DtDIGuyTaskableOrIntrinisic
DtDIGuyTaskableOrIntrinisic
The DtRwDIGuyIntrinsicAnimation a helper class that is a readable/writable class that can store itsel...
Definition:
rwDIGuyAnimationEntry.h:23
DtDiGuyAnimation::myAnimationDuration
DtReal myAnimationDuration
Definition:
diGuyAnimation.h:102
DT_DLL_vrfutil
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition:
vrfutilDefines.h:34
DtDiGuyAnimation::myAnimationVariants
std::set< DtString > myAnimationVariants
Definition:
diGuyAnimation.h:108
DtString
DtDiGuyAnimation::myTaskableOrIntrinsic
DtDIGuyTaskableOrIntrinisic myTaskableOrIntrinsic
Definition:
diGuyAnimation.h:106
DtDiGuyAnimationSharedPtr
DtBoost::shared_ptr< DtDiGuyAnimation > DtDiGuyAnimationSharedPtr
Definition:
diGuyAnimation.h:111
print
void print(double **a, int r, int c, char *str)
Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (
www.mak.com
)