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
vrfGuiCore
attachableSensorFanUpdater.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2018 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
6
#pragma once
7
8
#include <
vrfGuiCore/vrfGuiCore.h
>
9
#include <
vrvCore/DtAttachableFanUpdater.h
>
10
#include <
vrfGuiCore/vrfExtendedIntervisibilitySettings.h
>
11
#include <
vrfGuiCore/radarCoverageManager.h
>
12
#include <
vrfutil/sensorFanWalker.h
>
13
#include <
vrvUtil/DtSignalConnectionManager.h
>
14
15
#include <matrix/vlVector.h>
16
17
namespace
makVrv
18
{
19
class
DtMultiLineModel;
20
class
DtOverlayPolygonModel;
21
class
DtExtrudedPolygonModel;
22
class
DtPolygonModel;
23
}
24
25
class
DtIfRadarCoverageInformationResponse
;
26
27
namespace
makVrf
28
{
29
class
DtRadarCoverageModel;
30
37
class
DT_DLL_VRFGUICORE
DtAttachableSensorFanUpdater
:
public
makVrv::DtAttachableFanUpdater
38
{
39
public
:
41
DtAttachableSensorFanUpdater
(
makVrv::DtDe
& de,
makVrv::DtElementID
id
);
42
44
virtual
~
DtAttachableSensorFanUpdater
();
45
46
virtual
void
redrawLines();
47
virtual
void
redrawSelected();
48
49
virtual
void
setAlpha(
double
);
50
51
bool
isVisible()
const
52
{
53
return
myIsVisible;
54
}
55
56
virtual
void
setWaitingColor(
float
r,
float
g,
float
b,
float
a);
57
59
virtual
void
process(
const
DtIfRadarCoverageInformationResponse
*);
60
61
protected
:
62
63
virtual
void
updateSceneObject(
DtTime
tNow);
64
virtual
bool
doIntersection();
65
virtual
void
cacheVisuals();
66
68
virtual
void
setVisible(
bool
);
69
70
virtual
DtVector
calculateEndPointFromRadians(
const
DtVector
& start,
double
endZ,
double
radius,
double
rad)
const
;
71
72
virtual
bool
isDestroyed()
const
;
73
75
virtual
void
updateCircle();
76
78
virtual
void
updateWaitingForRadarCoverage(
DtTime
);
79
80
virtual
DtVrfExtendedIntervisibilitySettingsData::Color
closestColor(
const
DtRadarCoverageManager::ColorMap
&,
double
alt);
81
83
virtual
void
updateRadarCoverage(
DtTime
);
84
85
virtual
void
createRadarCoverageModel();
86
87
protected
:
88
typedef
std::map<int, Intersections>
HeightIntersections
;
89
HeightIntersections
myHeightIntersections
;
90
makVrv::DtOverlayPolygonModel
*
myArcModel
;
91
makVrv::DtExtrudedPolygonModel
*
myCircleModel
;
92
makVrv::DtMultiLineModel
*
myLineModel
;
93
bool
myIsVisible
;
94
bool
mySceneObjectVisible
;
95
makVrv::DtSignalConnectionManager
myConnectionManager
;
96
bool
myHasUpdates
;
97
bool
myWasDestroyed
;
98
double
mySensorRange
;
99
DtVector
mySensorOffset
;
100
DtVector
mySensorOrigin
;
101
DtRadarCoverageModel
*
myRadarCoverageModel
;
102
std::map<int, bool>
myStripVisibility
;
103
double
myAlpha
;
104
double
myAzimuthSamplingRate
;
105
106
DtVrfExtendedIntervisibilitySettingsData::Color
myWaitingColor
;
107
double
myElevationSamplingRate
;
108
double
myElevationStart
;
109
double
myElevationEnd
;
110
double
myAzimuthStart
;
111
double
myAzimuthEnd
;
112
113
bool
myIsComplete
;
114
};
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
)