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
vrvCore
DtNavigationLightManager.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2015 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/DtNavigationFeatureManager.h
>
13
14
namespace
makVrv
15
{
16
class
DtDe;
17
class
DtAgentManagerInterface;
18
class
DtLightMarkerStringParser;
19
class
DtBuoyOrBeaconFacade;
20
class
DtBuoyLayer;
21
class
DtNavigationLightController;
22
28
class
DT_DLL_VRVCORE
DtNavigationLightManager
:
public
DtNavigationFeatureManager
29
{
30
public
:
32
DtNavigationLightManager
(
DtDe
& de,
33
DtAgentManagerInterface
& sceneInterface,
34
DtBuoyLayer
& buoyLayer );
35
37
virtual
~
DtNavigationLightManager
();
38
40
virtual
void
addObject(
DtNavigationFeature
*
object
);
41
43
44
45
46
47
48
49
virtual
bool
needsUpdate(
DtTime
tNow );
50
54
virtual
void
update(
DtTime
tNow );
56
58
59
60
61
void
setLightColorSwitchNumber(
int
switchNum );
62
int
lightColorSwitchNumber()
const
;
64
65
67
68
69
70
void
setLightSwitchNumber(
int
switchNum );
71
int
lightSwitchNumber()
const
;
73
75
76
77
78
79
void
setDaylightLightLevel(
float
daylightLevel );
80
float
daylightLightLevel()
const
;
82
84
85
86
87
void
setFogVisibilityLevel(
float
fogVisibilityLevel );
88
float
fogVisibilityLevel()
const
;
90
91
protected
:
93
DtNavigationLightManager
();
94
96
DtNavigationLightManager
(
const
DtNavigationLightManager
& orig );
97
99
DtNavigationLightManager
& operator=(
const
DtNavigationLightManager
& rhs );
100
102
virtual
void
attachToBuoy(
DtNavigationFeature
& controller,
103
DtBuoyOrBeaconFacade
& buoy );
104
106
virtual
void
detachFromBuoy(
DtNavigationFeature
& controller,
107
DtBuoyOrBeaconFacade
& buoy );
108
111
virtual
void
initializeFeatureCreators();
112
115
void
slot_buoyCreated(
DtBuoyOrBeaconFacade
& buoy,
116
const
DtVector
& initialPosition );
117
118
protected
:
119
int
myLightColorSwitchNumber
;
120
int
myLightSwitchNumber
;
121
float
myDaylightLightLevel
;
122
float
myFogVisibilityLevel
;
123
};
124
}
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
)