VR-Forces 4.6 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 "
vrfutil/rwReal.h
"
16
#include "
vrfutil/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
82
protected
:
84
DtHumanFleeControllerDescriptor
();
85
86
protected
:
89
90
96
DtRwReal
myAngleBetweenPoints
;
97
103
DtRwReal
myFleeFromThreshold
;
104
110
DtRwReal
myAtDistance
;
111
116
DtRwBoolean
myShowFleePoint
;
117
122
DtRwBoolean
myAllowToFleePastFleePoint
;
123
130
DtRwReal
myFleeCone
;
132
};
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)