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
vrfobjcore
lookAtPointControllerPSR.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2017 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
10
#pragma once
11
12
#include "
vrfobjcore/vrfobjcoreDefines.h
"
13
#include "
vrfobjcore/vrfProcessStateRepository.h
"
14
#include "
vrftasks/setLookAtPointRequest.h
"
15
#include <
readerWriter/rwBoolean.h
>
16
#include "
readerWriter/rwVector.h
"
17
#include <
readerWriter/rwString.h
>
18
#include "
vrfobjcore/vrfObjectReference.h
"
19
22
class
DT_DLL_vrfobjcore
DtLookAtPointControllerPSR
:
public
DtVrfProcessStateRepository
23
{
24
public
:
26
DtLookAtPointControllerPSR
(
DtVrfObject
* vrfObject,
27
const
DtString
& rwName = DtString::nullString(),
28
DtReaderWriterRegistry
* parentRegistry = 0);
30
DtLookAtPointControllerPSR
(
const
DtLookAtPointControllerPSR
& orig,
31
const
DtString
& rwName = DtString::nullString(),
32
DtReaderWriterRegistry
* parentRegistry = 0);
34
DtLookAtPointControllerPSR
&
operator=
(
35
const
DtLookAtPointControllerPSR
& orig);
37
virtual
~
DtLookAtPointControllerPSR
();
38
40
virtual
DtVrfProcessStateRepository
*
clone
(
41
const
DtString
& rwName = DtString::nullString(),
42
DtReaderWriterRegistry
* parentRegistry = 0)
const
;
43
45
virtual
DtString
type
()
const
;
46
48
static
DtVrfProcessStateRepository
* creator(
const
DtString
& rwName,
49
DtVrfObject
* vrfObject,
DtReaderWriterRegistry
* parentRegistry = 0);
50
53
virtual
DtVector
lookAtPoint()
const
;
54
virtual
void
setLookAtPoint(
const
DtVector
& newValue);
56
60
virtual
const
DtRwVrfObjectReference
& target()
const
;
61
63
virtual
void
setTarget(
const
DtUUID
& newValue);
65
71
virtual
double
lookingAzimuth()
const
;
72
virtual
void
setLookingAzimuth(
double
az);
74
80
virtual
double
lookingElevation()
const
;
81
virtual
void
setLookingElevation(
double
el);
83
86
virtual
DtSetLookAtPointRequest::LookAtType
lookAtType()
const
;
87
virtual
void
setLookAtType(
DtSetLookAtPointRequest::LookAtType
stop);
89
91
virtual
void
shakeHead(
double
minRange,
double
maxRange,
double
rate);
92
94
virtual
void
nodHead(
double
minRange,
double
maxRange,
double
rate);
95
97
virtual
void
setNodOrShakeEndTime(
double
);
98
virtual
double
nodOrShakeEndTime()
const
;
99
101
virtual
void
getNodShakeData(
int
& nodOrShake,
double
& minRange,
double
& maxRange,
double
& rate);
102
104
virtual
void
clearNodOrShakeData();
105
106
protected
:
107
DtRwVector
myLookAtPoint
;
108
DtRwVrfObjectReference
myTarget
;
109
DtRwReal
myLookingAzimuth
;
110
DtRwReal
myLookingElevation
;
111
DtRwInt
myLookAtType
;
112
DtRwVector
myNodShakeValues
;
113
DtRwInt
myNodOrShake
;
114
DtRwReal
myNodOrShakeEndTime
;
115
};
116
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
)