VR-Forces 4.3 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
vrfGuiCore
weatherUpdater.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2014 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
9
#pragma once
10
11
#include <
vrfGuiCore/vrfGuiCore.h
>
12
#include <
vrvCore/DtUniqueID.h
>
13
#include <
vrvUtil/DtMessage.h
>
14
#include <
makArchives/DtEnvironmentRecord.h
>
15
#include <matrix/vlVector.h>
16
17
namespace
makVrv
18
{
20
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator<<
(
makVrv::DtMessage
& msg,
const
makArchives::DtEnvironmentRecord
& state );
21
23
DT_DLL_VRFGUICORE
makVrv::DtMessage
&
operator>>
(
makVrv::DtMessage
& msg,
makArchives::DtEnvironmentRecord
& state );
24
class
DtSceneObject;
25
class
DtSceneObjectAgent;
26
class
DtOsgOverlayPolygonModel;
27
class
DtDe;
28
class
DtModel;
29
class
DtWidget;
30
}
31
32
namespace
makVrf
33
{
36
class
DT_DLL_VRFGUICORE
DtWeatherUpdater
37
{
38
public
:
40
DtWeatherUpdater
(
makVrv::DtDe
& de,
makVrv::DtUniqueID
id
);
41
43
virtual
~
DtWeatherUpdater
();
44
46
virtual
void
setEnvironmentalConditions(
const
makArchives::DtEnvironmentRecord
&);
47
49
virtual
void
setSceneObject(
makVrv::DtSceneObject
*);
50
52
virtual
void
setWeatherIcon(
makVrv::DtWidget
*);
53
54
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a);
55
58
virtual
void
setSelected(
bool
b);
59
60
protected
:
61
virtual
void
updateWeatherLook(
bool
colorChange =
false
);
62
virtual
void
weatherLookRulesChanged();
63
64
virtual
void
slot_sceneObjectToBeDeleted(
const
makVrv::DtUniqueID
&
id
);
65
66
protected
:
67
makVrv::DtDe
&
myDe
;
68
makVrv::DtUniqueID
myUniqueID
;
69
makVrv::DtSceneObject
*
mySceneObject
;
70
makVrv::DtWidget
*
myIcon
;
71
float
myR
, myG, myB, myA;
72
makVrv::DtOsgOverlayPolygonModel
*
myWeatherArea
;
73
bool
mySelected
;
74
bool
myInitialized
;
75
76
makArchives::DtEnvironmentRecord
myEnvironmentRecord
;
77
};
78
}
79
80
DT_DLL_VRFGUICORE
bool
operator==
(
const
makArchives::DtEnvironmentRecord
& rhs,
const
makArchives::DtEnvironmentRecord
& lhs);
81
DT_DLL_VRFGUICORE
bool
operator!=
(
const
makArchives::DtEnvironmentRecord
& rhs,
const
makArchives::DtEnvironmentRecord
& lhs);
82
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)