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
vrfmodel
vrfSensorFieldOfView.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 <vlutil/vlList.h>
15
#include <vlpi/disEnums.h>
16
#include <vl/globalObjectDesignator.h>
17
#include <matrix/vlVector.h>
18
#include <
vrfExtObjects/sensorFieldOfViewEnums.h
>
19
20
class
DtVrfObject
;
21
class
DtSensorFieldOfViewEntry
;
22
class
DtRectangularPyramidPublisher
;
23
29
#include "
vrfmodel/vrfmodelDefines.h
"
30
class
DT_DLL_vrfmodel
DtVrfSensorFieldOfView
31
{
32
private
:
34
DtVrfSensorFieldOfView
(
const
DtVrfSensorFieldOfView
& orig);
36
DtVrfSensorFieldOfView
& operator=(
const
DtVrfSensorFieldOfView
& orig);
38
DtVrfSensorFieldOfView
();
39
40
public
:
41
DtVrfSensorFieldOfView
(
DtVrfObject
* hostEntity,
const
DtString
&
id
);
42
virtual
~
DtVrfSensorFieldOfView
();
43
45
virtual
void
tick();
46
48
bool
init
();
49
51
DtString
id()
const
;
52
54
55
DtVector
relativeLocation()
const
;
56
void
setRelativeLocation(
const
DtVector
& loc);
58
61
62
DtTaitBryan relativeOrientation()
const
;
63
void
setRelativeOrientation(
const
DtTaitBryan& ori);
65
67
68
virtual
void
setTargetedEntity(
const
DtGlobalObjectDesignator
& target);
69
virtual
const
DtGlobalObjectDesignator
& targetedEntity()
const
;
71
73
74
virtual
void
setTargetedLocation(
const
DtVector
& target);
75
virtual
const
DtVector
& targetedLocation()
const
;
77
79
80
virtual
void
setTrackingMode(
DtSensorTrackingMode
mode
);
81
virtual
DtSensorTrackingMode
trackingMode()
const
;
83
85
86
DtFloat64
radius()
const
;
87
void
setRadius(
DtFloat64
rad);
89
91
92
DtFloat64
xHalfAngle()
const
;
93
void
setXHalfAngle(
DtFloat64
angle
);
95
97
98
DtFloat64
yHalfAngle()
const
;
99
void
setYHalfAngle(
DtFloat64
angle);
101
103
104
DtFloat64
minAzimuthAngle()
const
;
105
void
setMinAzimuthAngle(
DtFloat64
angle);
107
109
110
DtFloat64
maxAzimuthAngle()
const
;
111
void
setMaxAzimuthAngle(
DtFloat64
angle);
113
115
116
DtFloat64
minElevationAngle()
const
;
117
void
setMinElevationAngle(
DtFloat64
angle);
119
121
122
DtFloat64
maxElevationAngle()
const
;
123
void
setMaxElevationAngle(
DtFloat64
angle);
125
127
128
DtFloat64
maxZoomLevel()
const
;
129
void
setMaxZoomLevel(
DtFloat64
level
);
131
133
134
DtFloat64
currentZoomLevel()
const
;
135
void
setCurrentZoomLevel(
DtFloat64
level);
137
139
140
DtU32 color()
const
;
141
void
setColor(DtU32 c);
143
144
protected
:
145
147
virtual
bool
createPublisher();
148
150
virtual
bool
initSensorFieldOfView();
151
152
protected
:
153
DtRectangularPyramidPublisher
*
myFovPublisher
;
154
DtVrfObject
*
myHostEntity
;
155
DtString
mySensorFieldOfViewId
;
156
};
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
)