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
vrfobjparam
humanFleeControllerDescriptor.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
11
12
#pragma once
13
14
#include "
vrfobjparam/componentDescriptor.h
"
15
#include <
readerWriter/rwReal.h
>
16
#include <
readerWriter/rwBoolean.h
>
17
20
class
DT_DLL_vrfobjparam
DtHumanFleeControllerDescriptor
:
public
DtComponentDescriptor
21
{
22
public
:
24
DtHumanFleeControllerDescriptor
(
const
DtString
& componentName,
25
DtReaderWriterRegistry
* parentRegistry = 0);
26
28
DtHumanFleeControllerDescriptor
(
const
DtHumanFleeControllerDescriptor
& orig,
29
DtReaderWriterRegistry
* parentRegistry = 0);
30
31
virtual
~
DtHumanFleeControllerDescriptor
();
32
34
DtHumanFleeControllerDescriptor
&
operator=
(
35
const
DtHumanFleeControllerDescriptor
& orig);
36
39
virtual
DtString
type
()
const
;
40
41
virtual
DtComponentDescriptor
*
clone
(
42
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
43
45
static
DtComponentDescriptor
*
creator
();
46
49
virtual
double
angleBetweenPoints()
const
;
50
virtual
void
setAngleBetweenPoints(
double
angle
);
52
55
virtual
double
fleeFromThreshold()
const
;
56
virtual
void
setFleeFromThreshold(
double
threshold);
58
61
virtual
bool
showFleePoint()
const
;
62
virtual
void
setShowFleePoint(
bool
);
63
66
virtual
double
atDistance()
const
;
67
virtual
void
setAtDistance(
double
distance
);
69
72
virtual
bool
allowToFleePastFleePoint()
const
;
73
virtual
void
setAllowToFleePastFleePoint(
bool
);
75
78
virtual
double
fleeCone()
const
;
79
virtual
void
setFleeCone(
double
);
81
84
virtual
double
reevaluatePeriod()
const
;
85
virtual
void
setReevaluatePeriod(
double
v);
87
88
protected
:
90
DtHumanFleeControllerDescriptor
();
91
92
protected
:
95
96
102
DtRwReal
myAngleBetweenPoints
;
103
109
DtRwReal
myFleeFromThreshold
;
110
116
DtRwReal
myAtDistance
;
117
122
DtRwBoolean
myShowFleePoint
;
123
128
DtRwBoolean
myAllowToFleePastFleePoint
;
129
136
DtRwReal
myFleeCone
;
137
143
DtRwReal
myReevaluatePeriod
;
145
};
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
)