VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrfobjcore
humanMoveAlongPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
#pragma once
9
10
#include "
vrfobjcore/vrfProcessStateRepository.h
"
11
#include "
vrfobjcore/vrfObjectReference.h
"
12
#include "
vrfutil/rwReal.h
"
13
#include "
vrfutil/rwInt.h
"
14
#include "
vrfutil/rwBoolean.h
"
15
#include "
vrfutil/rwString.h
"
16
#include "
vrfutil/rwVector.h
"
17
#include "
vrfutil/localVertexList.h
"
18
#include "
vrfutil/localVectorIterator.h
"
19
#include "
vrfobjcore/vrfobjcoreDefines.h
"
20
#include <
vrfutil/rwUUID.h
>
21
26
class
DT_DLL_vrfobjcore
DtHumanMoveAlongPSR
:
public
DtVrfProcessStateRepository
27
{
28
public
:
29
31
DtHumanMoveAlongPSR
(
DtVrfObject
* vrfObject,
32
const
DtString
& rwName = DtString::nullString(),
33
DtReaderWriterRegistry
* parentRegistry = 0);
34
36
DtHumanMoveAlongPSR
(
const
DtHumanMoveAlongPSR
& orig,
37
const
DtString
& rwName = DtString::nullString(),
38
DtReaderWriterRegistry
* parentRegistry = 0);
39
41
virtual
~
DtHumanMoveAlongPSR
();
42
44
DtHumanMoveAlongPSR
&
operator=
(
const
DtHumanMoveAlongPSR
& orig);
45
47
virtual
DtVrfProcessStateRepository
*
clone
(
48
const
DtString
& rwName = DtString::nullString(),
49
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
50
53
virtual
DtString
type
()
const
;
54
60
virtual
void
setWorldDestination(
const
DtVector
& destination);
61
virtual
const
DtVector
& worldDestination()
const
;
63
67
virtual
void
setRoute(
const
DtUUID
&);
68
70
virtual
const
DtRwVrfObjectReference
& route()
const
;
71
virtual
DtRwVrfObjectReference
& route();
73
77
virtual
void
setMoveToPoint(
const
DtUUID
&);
78
80
virtual
const
DtRwVrfObjectReference
& moveToPoint()
const
;
81
virtual
DtRwVrfObjectReference
& moveToPoint();
83
87
virtual
void
setRouteVertices(
const
DtLocalVectorIterator
& routeIterator);
88
virtual
void
setRouteVertices(
const
DtLocalVertexList
& routeVertices);
89
virtual
const
DtLocalVertexList
& routeVertices()
const
;
91
93
virtual
void
emptyRouteVertices();
94
97
virtual
DtLocalVectorIterator
* routeState()
const
;
98
101
virtual
void
setReversePatrol(
bool
flag);
102
virtual
bool
reversePatrol()
const
;
104
108
virtual
void
setCurrentVertex(
int
vertex);
109
virtual
int
currentVertex()
const
;
111
113
virtual
void
putSelf
(FILE *fp,
int
indentLevel = 0,
bool
writeUnspecified =
false
,
114
const
DtFilename& path =
DtReaderWriter::appPath
());
115
116
public
:
117
119
static
DtVrfProcessStateRepository
* creator (
const
DtString
& rwName,
120
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry);
121
122
protected
:
123
126
DtRwVrfObjectReference
myRoute
;
127
129
DtRwVrfObjectReference
myMoveToPoint
;
130
133
DtLocalVectorIterator
*
myRouteState
;
135
DtLocalVertexList
myVertices
;
137
DtRwInt
myCurrentVertex
;
138
142
DtRwBoolean
myReverseFlag
;
143
145
DtRwVector
myWorldDestination
;
146
};
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)