VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthProfileInterface.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2016 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 #pragma once
10 
12 
13 // Class Forward Declarations
14 namespace osgEarth
15 {
16  class Extension;
17 }
18 
19 
20 namespace makVrv
21 {
25  {
26  public:
27  enum LayerType
28  {
34  GroundCover
35  };
39  virtual void setVisibility(LayerType layerType, bool visibility) = 0;
40 
43  virtual void setOpacity(float opacity) = 0;
44 
46  virtual void setLightingEnabled(bool enabled) = 0;
47 
50  virtual void addLayerType(LayerType layerType) = 0;
51 
58  virtual void addLayer(int id, LayerType layerType, const std::string& name, bool enabled, bool visible,int parentID = -1) = 0;
59 
63  virtual void saveMaxDistanceForGroundCover(int id, float maxDistance) = 0;
64 
67  virtual float getMaxDistanceForGroundCover(int id) = 0;
68 
71  virtual void setGroundCoverVisibility(bool visible) = 0;
72 
75  virtual void setGroundCoverDensity(double density) = 0;
76 
79  virtual void setGroundCoverFill(double fill) = 0;
80 
83  virtual void setGroundCoverWind(double wind) = 0;
84 
87  virtual void setGroundCoverBrightness(double brightness) = 0;
88 
91  virtual void setGroundCoverContrast(double contrast) = 0;
92 
94  virtual void slot_afterPopulateAllLayers() = 0;
95 
97  virtual void setLastEarthFileName(const std::string& name) = 0;
98 
99  public:
100 
102 
103  boost::signal<void(std::string)> signal_selectOsgEarthChanged;
104  boost::signal<void(int, int, int)> signal_selectLayerTreeChanged;
105  boost::signal<void(int, int, int)> signal_layerVisibilityCheckBoxValueChanged;
106  boost::signal<void(int, int, double)> signal_layerOpacitySpinBoxValueChanged;
107  boost::signal<void(int, int, int)> signal_lightingEnabledCheckBox_valueChanged;
108  boost::signal<void(int, int, int)> signal_groundCoverVisibilityChanged;
109  boost::signal<void(int, int, double)> signal_groundCoverDensityChanged;
110  boost::signal<void(int, int, double)> signal_groundCoverFillChanged;
111  boost::signal<void(int, int, double)> signal_groundCoverWindChanged;
112  boost::signal<void(int, int, double)> signal_groundCoverBrightnessChanged;
113  boost::signal<void(int, int, double)> signal_groundCoverContrastChanged;
115 
116  };
117 }

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)