VR-Forces 4.10 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
vrfDiGuy
diGuyAnimation.h
Go to the documentation of this file.
1
/****************************************************************************
2
* Copyright (c) 2021 MAK Technologies, Inc.
3
* All rights reserved.
4
****************************************************************************/
5
9
10
#pragma once
11
12
#include "
vrfDiGuy/vrfDiGuyDefines.h
"
13
14
#include "
vrfutil/rwDIGuyAnimationEntry.h
"
15
16
#include <vlutil/vlSmartPointers.h>
17
#include <vlutil/vlString.h>
18
19
#include <set>
20
29
class
DT_DLL_vrfDiGuy
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
45
virtual
void
setAnimationName(
const
DtString
& name );
46
virtual
const
DtString
& animationName()
const
;
48
51
virtual
void
setDisplayName(
const
DtString
& name );
52
virtual
const
DtString
& displayName()
const
;
54
57
virtual
void
setDuration(
const
double
time );
58
virtual
const
double
duration()
const
;
60
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
73
virtual
void
setDirectionChange(
const
DtString
& direction );
74
virtual
const
DtString
& directionChange()
const
;
76
80
virtual
void
addVariant(
const
DtString
& var );
81
virtual
bool
haveVariant(
const
DtString
& var )
const
;
82
virtual
const
std::set<DtString>& variants()
const
;
84
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
112
typedef
DtBoost::shared_ptr<DtDiGuyAnimation>
DtDiGuyAnimationSharedPtr
;
DtDiGuyAnimation::myAnimationName
DtString myAnimationName
Definition:
diGuyAnimation.h:100
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
DtDiGuyAnimation::myAnimationVariants
std::set< DtString > myAnimationVariants
Definition:
diGuyAnimation.h:108
DT_DLL_vrfDiGuy
#define DT_DLL_vrfDiGuy
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition:
vrfDiGuyDefines.h:34
DtString
vrfDiGuyDefines.h
DtDiGuyAnimation::myTaskableOrIntrinsic
DtDIGuyTaskableOrIntrinisic myTaskableOrIntrinsic
Definition:
diGuyAnimation.h:106
DtDiGuyAnimationSharedPtr
DtBoost::shared_ptr< DtDiGuyAnimation > DtDiGuyAnimationSharedPtr
Definition:
diGuyAnimation.h:112
print
void print(double **a, int r, int c, char *str)
Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (
www.mak.com
)