VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
13 #include <vrvCore/DtDe.h>
14 #include <vrvCore/DtRenderer.h>
15 #include <vrvCore/DtTickable.h>
16 
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtDe;
22  class DtAgentManagerInterface;
23  class DtLightMarkerStringParser;
24  class DtBuoyOrBeaconFacade;
25  class DtBuoyBeaconLayer;
26  class DtNavigationLightController;
27  class DtNavigationLightManager;
28 
30  {
31  protected:
32 
34 
36  DtNavigationLightManager& lightManager );
37 
38  virtual ~DtNavigationLightUpdater();
39 
40  virtual bool needsUpdate( DtTime tNow );
41 
45  virtual void update( DtTime tNow );
46 
47  protected:
49  };
50 
57  {
58  public:
60  DtNavigationLightManager(const std::string& name, DtDe& de,
61  DtAgentManagerInterface& sceneInterface,
62  DtBuoyBeaconLayer& buoyBeaconLayer,
64  const std::string& featureLayerList,
65  const std::string& featureAttrMapFilename,
66  DtNavigationFeatureBuilder* featureBuilder,
67  int presenceSwitchNum, int typeSwitchNum );
68 
70  virtual ~DtNavigationLightManager();
71 
73 
74 
75 
76 
77 
78 
79  virtual bool needsUpdate( DtTime tNow );
80 
84  virtual void update( DtTime tNow );
86 
87 
89 
90 
91 
92 
93  void setDaylightLightLevel( float daylightLevel );
94  float daylightLightLevel() const;
96 
98 
99 
100 
101  void setFogVisibilityLevel( float fogVisibilityLevel );
102  float fogVisibilityLevel() const;
104 
105  protected:
108 
111 
113  DtNavigationLightManager& operator=( const DtNavigationLightManager& rhs );
114 
116  virtual void attachToBuoyOrBeacon( DtNavigationFeature& controller,
117  DtBuoyOrBeaconFacade& buoy );
118 
120  virtual void detachFromBuoyOrBeacon( DtNavigationFeature& controller,
121  DtBuoyOrBeaconFacade& buoy );
122 
126  virtual void adjustHeightForLight( DtNavigationFeature& controller,
127  DtBuoyOrBeaconFacade& facade );
128 
129  protected:
133  };
134 }

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)