VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthSplatTreeWidgetItems.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2019 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
9 
10 #pragma once
13 #include <osgEarthSplat/GroundCoverLayer>
14 #include <osgEarthSplat/RoadSurfaceLayer>
15 #include <osgEarthSplat/SplatLayer>
16 
17 namespace osgEarth
18 {
19  namespace Drivers
20  {
21  class OGRFeatureOptions;
22  class TFSFeatureOptions;
23  class WFSFeatureOptions;
24  class MVTFeatureOptions;
25  }
26  namespace Features
27  {
28  class FeatureSourceOptions;
29  }
30  namespace Symbology
31  {
32  class StyleSheet;
33  }
34 }
35 
36 namespace makVrv
37 {
44  {
45  Q_OBJECT
47  public:
48 
50  virtual void setupGui();
51 
53  virtual void setGroundCoverLayerOptions(const osgEarth::Splat::GroundCoverLayer::Options& options);
54 
56  virtual void getGroundCoverLayerOptions(osgEarth::Splat::GroundCoverLayer::Options& options) const;
57 
58  protected:
59 
66  };
67 
74  {
75  Q_OBJECT
77  public:
78 
80  virtual void setupGui();
81 
83  virtual void connectSignals();
84 
86  //virtual void setGroundCoverOptions(const osgEarth::Splat::GroundCoverOptions& options);
87 
89  //virtual void getGroundCoverOptions(osgEarth::Splat::GroundCoverOptions& options) const;
90 
93  virtual void setWind(float wind);
94 
97  float getWind() const;
98 
102  virtual void setDensity(float density);
103 
107  virtual float getDensity() const;
108 
111  virtual void setFill(float fill);
112 
115  virtual float getFill() const;
116 
119  virtual void setMaxDistance(float maxDistance);
120 
123  virtual float getMaxDistance() const;
124 
125  public:
126 
129  boost::signal<void(double wind)> signal_groundCoverWindChanged;
130 
134  boost::signal<void(double density)> signal_groundCoverDensityChanged;
135 
138  boost::signal<void(double fill)> signal_groundCoverFillChanged;
139 
142  boost::signal<void(double maxDistance)> signal_groundCoverMaxDistanceChanged;
143 
144  protected:
145 
152 
153  protected slots:
154 
156 
158  virtual void on_windDoubleSpinBox_valueChanged(double);
159 
161  virtual void on_densityDoubleSpinBox_valueChanged(double);
162 
164  virtual void on_fillDoubleSpinBox_valueChanged(double);
165 
167  virtual void on_maxDistanceDoubleSpinBox_valueChanged(double);
168  };
169 
176  {
177  Q_OBJECT
179 
180  public:
181 
183  virtual void setupGui();
184 
186  virtual void setRoadSurfaceLayerOptions(const osgEarth::Splat::RoadSurfaceLayer::Options& options);
187 
189  virtual void getRoadSurfaceLayerOptions(osgEarth::Splat::RoadSurfaceLayer::Options& options) const;
190 
191  protected:
192 
199 
202  virtual void setStyleSheet(const osg::ref_ptr<osgEarth::Symbology::StyleSheet>& styleSheet);
203 
206  virtual void getStyleSheet(osg::ref_ptr<osgEarth::Symbology::StyleSheet>& styleSheet) const;
207  };
208 
215  {
216  Q_OBJECT
218  public:
219 
221  virtual void setupGui();
222 
224  virtual void setSplatLayerOptions(const osgEarth::Splat::SplatLayer::Options& options);
225 
227  virtual void getSplatLayerOptions(osgEarth::Splat::SplatLayer::Options& options) const;
228 
229  protected:
230 
237  };
238 
244  {
245  public:
246 
249  DtGroundCoverLayerTreeWidgetItemCreator(const std::string& key);
250 
255  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
256  };
257 
263  {
264  public:
265 
268  DtGroundCoverTreeWidgetItemCreator(const std::string& key);
269 
274  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
275  };
276 
282  {
283  public:
284 
287  DtRoadSurfaceLayerTreeWidgetItemCreator(const std::string& key);
288 
293  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
294  };
295 
301  {
302  public:
303 
306  DtSplatLayerTreeWidgetItemCreator(const std::string& key);
307 
312  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
313  };
314 }
DtTerrainEditorPropertyTreeWidgetItem.
Definition: DtTerrainEditorPropertyTreeWidgetItem.h:74
DtVisibleLayerTreeWidgetItem.
Definition: DtOsgEarthCoreTreeWidgetItems.h:363
boost::signal< void(double wind)> signal_groundCoverWindChanged
Signal emits when the wind speed of the ground cover has been changed.
Definition: DtOsgEarthSplatTreeWidgetItems.h:129
Contains DLL export macros.
DtSplatLayerTreeWidgetItem.
Definition: DtOsgEarthSplatTreeWidgetItems.h:213
boost::signal< void(double maxDistance)> signal_groundCoverMaxDistanceChanged
Signal emits when the maximum viewing distance of the ground cover has been changed.
Definition: DtOsgEarthSplatTreeWidgetItems.h:142
Definition: featureContext.h:37
DtGroundCoverTreeWidgetItem.
Definition: DtOsgEarthSplatTreeWidgetItems.h:72
DtGroundCoverLayerTreeWidgetItemCreator.
Definition: DtOsgEarthSplatTreeWidgetItems.h:261
DtGroundCoverLayerTreeWidgetItem.
Definition: DtOsgEarthSplatTreeWidgetItems.h:42
Contains the DtTerrainEditorPropertyTreeWidgetItem derived classes related to osgEarth Core library...
DtGroundCoverLayerTreeWidgetItemCreator.
Definition: DtOsgEarthSplatTreeWidgetItems.h:242
DtTerrainEditorPropertyTreeWidgetItemCreator.
Definition: DtTerrainEditorPropertyTreeWidgetItem.h:899
DtRoadSurfaceLayerTreeWidgetItemCreator.
Definition: DtOsgEarthSplatTreeWidgetItems.h:280
DtImageLayerTreeWidgetItem.
Definition: DtOsgEarthCoreTreeWidgetItems.h:455
boost::signal< void(double fill)> signal_groundCoverFillChanged
Signal emits when the fill of the ground cover has been changed.
Definition: DtOsgEarthSplatTreeWidgetItems.h:138
DtSplatLayerTreeWidgetItemCreator.
Definition: DtOsgEarthSplatTreeWidgetItems.h:299
DtOsgEarthPropertyItemKey Key of the osgEarth property item, represented by the type and index...
Definition: DtOsgEarthPropertyItemKey.h:22
boost::signal< void(double density)> signal_groundCoverDensityChanged
Signal emits when the density of the ground cover has been changed.
Definition: DtOsgEarthSplatTreeWidgetItems.h:134
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
#define DT_DLL_VRVTERRAINEDITOR
Definition: vrvTerrainEditor.h:25
DtRoadSurfaceLayerTreeWidgetItem.
Definition: DtOsgEarthSplatTreeWidgetItems.h:174

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)