VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthSymbologyTreeWidgetItems.h
Go to the documentation of this file.
1 /*****************************************************************************
2 * Copyright (c) 2021 MAK Technologies, Inc.
3 * All rights reserved.
4 *****************************************************************************/
5 
6 // The Terrain Editor had a bunch of functionality that was lost when we moved from OE2.x to OE3.x.
7 // Those functions are some examples of functionality we lost(and hope to restore)
8 #if OSGEARTH_UPGRADE_GOOD
9 
13 
14 #pragma once
15 
16 #include <osgEarth/Version>
17 #if OSGEARTH_VERSION_LESS_THAN(2,10,0)
18 #define OSGEARTH_HAVE_MARKER 1
19 #endif
20 
23 #include <osgEarth/ResourceLibrary>
24 #include <osgEarth/StyleSheet>
25 #include <osgEarth/AltitudeSymbol>
26 #include <osgEarth/BillboardSymbol>
27 #include <osgEarth/CoverageSymbol>
28 #include <osgEarth/ExtrusionSymbol>
29 #include <osgEarth/IconSymbol>
30 #ifdef OSGEARTH_HAVE_MARKER
31 #include <osgEarth/MarkerSymbol>
32 #endif
33 #include <osgEarth/ModelSymbol>
34 #include <osgEarth/PointSymbol>
35 #include <osgEarth/PolygonSymbol>
36 #include <osgEarth/RenderSymbol>
37 #include <osgEarth/Skins>
38 #include <osgEarth/TextSymbol>
39 #include <osgEarth/Query>
40 #include <osgEarthBuildings/BuildingSymbol>
41 
42 namespace makVrv
43 {
48  class DT_DLL_VRVTERRAINEDITOR DtAltitudeSymbolTreeWidgetItem
49  : public DtTerrainEditorPropertyTreeWidgetItem
50  {
51  Q_OBJECT
52  public:
53  friend class DtAltitudeSymbolTreeWidgetItemCreator;
54 
56  virtual void setupGui();
57 
59  virtual void setAltitudeSymbol(const osgEarth::AltitudeSymbol* symbol);
60 
62  virtual void getAltitudeSymbol(std::string& css);
63 
64  protected:
65 
71  DtAltitudeSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
72 
76  virtual void setClamping(const osgEarth::optional<osgEarth::AltitudeSymbol::Clamping>& clamping,
77  const osgEarth::optional<osgEarth::AltitudeSymbol::Technique>& technique);
78 
81  virtual void setTech(const osgEarth::optional<osgEarth::AltitudeSymbol::Technique>& technique);
82 
85  virtual void setAltitudeBinding(const osgEarth::optional<osgEarth::AltitudeSymbol::Binding>& binding);
86  };
87 
92  class DT_DLL_VRVTERRAINEDITOR DtBillboardSymbolTreeWidgetItem
93  : public DtTerrainEditorPropertyTreeWidgetItem
94  {
95  Q_OBJECT
96  public:
97  friend class DtBillboardSymbolTreeWidgetItemCreator;
98 
100  virtual void setupGui();
101 
103  virtual void setBillboardSymbol(const osgEarth::BillboardSymbol* symbol);
104 
107  virtual void getBillboardSymbol(std::string& css) const;
108 
109  protected:
110 
116  DtBillboardSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
117  };
118 
123  class DT_DLL_VRVTERRAINEDITOR DtCoverageSymbolTreeWidgetItem
124  : public DtTerrainEditorPropertyTreeWidgetItem
125  {
126  Q_OBJECT
127  public:
128  friend class DtCoverageSymbolTreeWidgetItemCreator;
129 
131  virtual void setupGui();
132 
134  virtual void setCoverageSymbol(const osgEarth::CoverageSymbol* symbol);
135 
138  virtual void getCoverageSymbol(std::string& css) const;
139 
140  protected:
141 
147  DtCoverageSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
148  };
149 
154  class DT_DLL_VRVTERRAINEDITOR DtExtrusionSymbolTreeWidgetItem
155  : public DtTerrainEditorPropertyTreeWidgetItem
156  {
157  Q_OBJECT
158  public:
159  friend class DtExtrusionSymbolTreeWidgetItemCreator;
160 
162  virtual void setupGui();
163 
165  virtual void setExtrusionSymbol(const osgEarth::ExtrusionSymbol* symbol);
166 
169  virtual void getExtrusionSymbol(std::string& css) const;
170 
171  protected:
172 
178  DtExtrusionSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
179  };
180 
185  class DT_DLL_VRVTERRAINEDITOR DtIconSymbolTreeWidgetItem
186  : public DtTerrainEditorPropertyTreeWidgetItem
187  {
188  Q_OBJECT
189  public:
190  friend class DtIconSymbolTreeWidgetItemCreator;
191 
193  virtual void setupGui();
194 
196  virtual void setIconSymbol(const osgEarth::IconSymbol* symbol);
197 
200  virtual void getIconSymbol(std::string& css) const;
201 
202  protected:
203 
209  DtIconSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
210 
213  virtual void setIconPlacement(const osgEarth::optional<osgEarth::IconSymbol::Placement>& place);
214 
217  virtual void setIconAlignment(const osgEarth::optional<osgEarth::IconSymbol::Alignment>& align);
218 
219  };
220 
225  class DT_DLL_VRVTERRAINEDITOR DtLineSymbolTreeWidgetItem
226  : public DtTerrainEditorPropertyTreeWidgetItem
227  {
228  Q_OBJECT
229  public:
230  friend class DtLineSymbolTreeWidgetItemCreator;
231 
233  virtual void setupGui();
234 
236  virtual void setLineSymbol(const osgEarth::LineSymbol* symbol);
237 
240  virtual void getLineSymbol(std::string& css) const;
241 
242  protected:
243 
249  DtLineSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
250 
253  virtual void setLineCapStyle(const osgEarth::optional<osgEarth::Stroke::LineCapStyle>& style);
254 
257  virtual void setLineJoinStyle(const osgEarth::optional<osgEarth::Stroke::LineJoinStyle>& style);
258 
259  };
260 
261 #ifdef OSGEARTH_HAVE_MARKER
262  class DT_DLL_VRVTERRAINEDITOR DtMarkerSymbolTreeWidgetItem
268  : public DtTerrainEditorPropertyTreeWidgetItem
269  {
270  Q_OBJECT
271  public:
272  friend class DtMarkerSymbolTreeWidgetItemCreator;
273 
275  virtual void setupGui();
276 
278  virtual void setMarkerSymbol(const osgEarth::MarkerSymbol* symbol);
279 
282  virtual void getMarkerSymbol(std::string& css) const;
283 
284  protected:
285 
291  DtMarkerSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
292 
295  virtual void setPlacement(const osgEarth::optional<osgEarth::MarkerSymbol::Placement>& placement);
296 
299  virtual void setAlignment(const osgEarth::optional<osgEarth::MarkerSymbol::Alignment>& alignment);
300  };
301 #endif
302 
307  class DT_DLL_VRVTERRAINEDITOR DtModelSymbolTreeWidgetItem
308  : public DtTerrainEditorPropertyTreeWidgetItem
309  {
310  Q_OBJECT
311  public:
312  friend class DtModelSymbolTreeWidgetItemCreator;
313 
315  virtual void setupGui();
316 
318  virtual void setModelSymbol(const osgEarth::ModelSymbol* symbol);
319 
321  virtual void getModelSymbol(std::string& css);
322 
323  protected:
324 
330  DtModelSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
331 
334  virtual void setModelPlacement(const osgEarth::optional<osgEarth::ModelSymbol::Placement>& placement);
335  };
336 
341  class DT_DLL_VRVTERRAINEDITOR DtPointSymbolTreeWidgetItem
342  : public DtTerrainEditorPropertyTreeWidgetItem
343  {
344  Q_OBJECT
345  public:
346  friend class DtPointSymbolTreeWidgetItemCreator;
347 
349  virtual void setupGui();
350 
352  virtual void setPointSymbol(const osgEarth::PointSymbol* symbol);
353 
356  virtual void getPointSymbol(std::string& css);
357 
358  protected:
359 
365  DtPointSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
366  };
367 
372  class DT_DLL_VRVTERRAINEDITOR DtPolygonSymbolTreeWidgetItem
373  : public DtTerrainEditorPropertyTreeWidgetItem
374  {
375  Q_OBJECT
376  public:
377  friend class DtPolygonSymbolTreeWidgetItemCreator;
378 
380  virtual void setupGui();
381 
383  virtual void setPolygonSymbol(const osgEarth::PolygonSymbol* symbol);
384 
387  virtual void getPolygonSymbol(std::string& css);
388 
389  protected:
390 
396  DtPolygonSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
397  };
398 
403  class DT_DLL_VRVTERRAINEDITOR DtRenderSymbolTreeWidgetItem
404  : public DtTerrainEditorPropertyTreeWidgetItem
405  {
406  Q_OBJECT
407  public:
408  friend class DtRenderSymbolTreeWidgetItemCreator;
409 
411  virtual void setupGui();
412 
414  virtual void setRenderSymbol(const osgEarth::RenderSymbol* symbol);
415 
418  virtual void getRenderSymbol(std::string& css);
419 
420  protected:
421 
427  DtRenderSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
428  };
429 
435  class DT_DLL_VRVTERRAINEDITOR DtSkinSymbolTreeWidgetItem
436  : public DtTerrainEditorPropertyTreeWidgetItem
437  {
438  Q_OBJECT
439  public:
440  friend class DtSkinSymbolTreeWidgetItemCreator;
441 
443  virtual void setupGui();
444 
446  virtual void setSkinSymbol(const osgEarth::SkinSymbol* symbol);
447 
450  virtual void getSkinSymbol(std::string& css);
451 
452  protected:
453 
459  DtSkinSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
460 
462  virtual void setTagSets(const osgEarth::SkinSymbol* symbol);
463  };
464 
469  class DT_DLL_VRVTERRAINEDITOR DtTextSymbolTreeWidgetItem
470  : public DtTerrainEditorPropertyTreeWidgetItem
471  {
472  Q_OBJECT
473  public:
474  friend class DtTextSymbolTreeWidgetItemCreator;
475 
477  virtual void setupGui();
478 
480  virtual void setTextSymbol(const osgEarth::TextSymbol* symbol);
481 
484  virtual void getTextSymbol(std::string& css);
485 
486  protected:
487 
493  DtTextSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
494 
496  virtual void setBackdropType(const osgEarth::optional<osgText::Text::BackdropType>& type);
497 
499  virtual void setBackdropImplementation(const osgEarth::optional<osgText::Text::BackdropImplementation>& implementation);
500 
502  virtual void setAlignment(const osgEarth::optional<osgEarth::TextSymbol::Alignment>& alignment);
503 
505  virtual void setLayout(const osgEarth::optional<osgEarth::TextSymbol::Layout>& layout);
506 
508  virtual void setEncoding(const osgEarth::optional<osgEarth::TextSymbol::Encoding>& encoding);
509 
510  };
511 
516  class DT_DLL_VRVTERRAINEDITOR DtBuildingSymbolTreeWidgetItem
517  : public DtTerrainEditorPropertyTreeWidgetItem
518  {
519  Q_OBJECT
520  public:
521  friend class DtBuildingSymbolTreeWidgetItemCreator;
522 
524  virtual void setupGui();
525 
527  virtual void setBuildingSymbol(const osgEarth::Buildings::BuildingSymbol* symbol);
528 
531  virtual void getBuildingSymbol(std::string& css);
532 
533  protected:
534 
540  DtBuildingSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
541  };
542 
548  class DT_DLL_VRVTERRAINEDITOR DtStyleTreeWidgetItem
549  : public DtTerrainEditorPropertyTreeWidgetItem
550  {
551  Q_OBJECT
552  public:
553  friend class DtStyleTreeWidgetItemCreator;
554 
556  virtual void setupGui();
557 
559  virtual void setStyle(const osgEarth::Style* style);
560 
562  virtual std::string getStyle() const;
563 
564  protected:
565 
571  DtStyleTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
572 
575  virtual void setAltitudeSymbol(const osgEarth::AltitudeSymbol* symbol);
576 
579  virtual void setBillboardSymbol(const osgEarth::BillboardSymbol* symbol);
580 
583  virtual void setCoverageSymbol(const osgEarth::CoverageSymbol* symbol);
584 
588  virtual void setExtrusionSymbol(const osgEarth::ExtrusionSymbol* symbol);
589 
592  virtual void setIconSymbol(const osgEarth::IconSymbol* symbol);
593 
596  virtual void setLineSymbol(const osgEarth::LineSymbol* symbol);
597 
598 #ifdef OSGEARTH_HAVE_MARKER
599  virtual void setMarkerSymbol(const osgEarth::MarkerSymbol* symbol);
603 #endif
604 
607  virtual void setModelSymbol(const osgEarth::ModelSymbol* symbol);
608 
611  virtual void setPointSymbol(const osgEarth::PointSymbol* symbol);
612 
615  virtual void setPolygonSymbol(const osgEarth::PolygonSymbol* symbol);
616 
619  virtual void setRenderSymbol(const osgEarth::RenderSymbol* symbol);
620 
624  virtual void setSkinSymbol(const osgEarth::SkinSymbol* symbol);
625 
628  virtual void setTextSymbol(const osgEarth::TextSymbol* symbol);
629 
632  virtual void setBuildingSymbol(const osgEarth::Buildings::BuildingSymbol* symbol);
633 
636  virtual void getAltitudeSymbol(std::string& css) const;
637 
640  virtual void getBillboardSymbol(std::string& css) const;
641 
644  virtual void getCoverageSymbol(std::string& css) const;
645 
648  virtual void getExtrusionSymbol(std::string& css) const;
649 
652  virtual void getIconSymbol(std::string& css) const;
653 
656  virtual void getLineSymbol(std::string& css) const;
657 
658 #ifdef OSGEARTH_HAVE_MARKER
659  virtual void getMarkerSymbol(std::string& css) const;
662 #endif
663 
666  virtual void getModelSymbol(std::string& css) const;
667 
670  virtual void getPointSymbol(std::string& css) const;
671 
674  virtual void getPolygonSymbol(std::string& css) const;
675 
678  virtual void getRenderSymbol(std::string& css) const;
679 
682  virtual void getSkinSymbol(std::string& css) const;
683 
686  virtual void getTextSymbol(std::string& css) const;
687 
690  virtual void getBuildingSymbol(std::string& css) const;
691  };
692 
698  class DT_DLL_VRVTERRAINEDITOR DtResourceLibraryTreeWidgetItem
699  : public DtTerrainEditorPropertyTreeWidgetItem
700  {
701  Q_OBJECT
702  public:
703  friend class DtResourceLibraryTreeWidgetItemCreator;
704 
706  virtual void setupGui();
707 
709  virtual void setResourceLibrary(const osgEarth::Config& library);
710 
712  virtual osgEarth::ResourceLibrary* getResourceLibrary() const;
713 
714  protected:
715 
721  DtResourceLibraryTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
722  };
723 
729  class DT_DLL_VRVTERRAINEDITOR DtQueryTreeWidgetItem
730  : public DtTerrainEditorPropertyTreeWidgetItem
731  {
732  Q_OBJECT
733  public:
734  friend class DtQueryTreeWidgetItemCreator;
735 
737  virtual void setupGui();
738 
740  virtual void setQuery(const osgEarth::Query& query);
741 
743  virtual void getQuery(osgEarth::Query& query) const;
744 
745  protected:
746 
752  DtQueryTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
753 
756  virtual void setBounds(const osgEarth::optional<osgEarth::Bounds>& bounds);
757 
760  virtual void getBounds(osgEarth::optional<osgEarth::Bounds>& bounds) const;
761 
762  };
763 
771  class DT_DLL_VRVTERRAINEDITOR DtStyleSelectorTreeWidgetItem
772  : public DtTerrainEditorPropertyTreeWidgetItem
773  {
774  Q_OBJECT
775  public:
776  friend class DtStyleSelectorTreeWidgetItemCreator;
777 
779  virtual void setupGui();
780 
782  virtual void setStyleSelector(const osgEarth::StyleSelector& selector);
783 
785  virtual osgEarth::StyleSelector getStyleSelector() const;
786 
787  protected:
788 
794  DtStyleSelectorTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
795 
798  virtual void setQuery(const osgEarth::optional<osgEarth::Query>& query);
799 
802  virtual void getQuery(osgEarth::optional<osgEarth::Query>& query) const;
803 
804  };
805 
810  class DT_DLL_VRVTERRAINEDITOR DtScriptDefTreeWidgetItem
811  : public DtTerrainEditorPropertyTreeWidgetItem
812  {
813  Q_OBJECT
814  public:
815  friend class DtScriptDefTreeWidgetItemCreator;
816 
818  virtual void setupGui();
819 
821  virtual void setScriptDef(osgEarth::StyleSheet::ScriptDef* script);
822 
824  virtual osgEarth::StyleSheet::ScriptDef* getScriptDef();
825 
826  protected:
827 
833  DtScriptDefTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
834 
835  };
836 
841  class DT_DLL_VRVTERRAINEDITOR DtStyleSheetTreeWidgetItem
842  : public DtTerrainEditorPropertyTreeWidgetItem
843  {
844  Q_OBJECT
845  public:
846  friend class DtStyleSheetTreeWidgetItemCreator;
847 
849  virtual void setupGui();
850 
852  virtual void setStyleSheet(const osg::ref_ptr<osgEarth::StyleSheet>& styleSheet);
853 
855  virtual void getStyleSheet(osg::ref_ptr<osgEarth::StyleSheet>& styleSheet) const;
856 
858  virtual void populateContextMenu(QMenu* menu);
859 
860  protected:
861 
867  DtStyleSheetTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
868 
871  virtual void setResourceLibraries(const osgEarth::Config& conf);
872 
875  virtual void getResourceLibraries(osgEarth::StyleSheet* sheet) const;
876 
879  virtual void setStyles(osgEarth::StyleSheet* sheet);
880 
883  virtual void getStyles(osgEarth::StyleSheet* sheet) const;
884 
887  virtual void setScript(osgEarth::StyleSheet::ScriptDef* def);
888 
890  virtual osgEarth::StyleSheet::ScriptDef* getScript() const;
891 
894  virtual void setSelectors(const osgEarth::StyleSelectors& list);
895 
898  virtual void getSelectors(osgEarth::StyleSelectors& list) const;
899 
900  };
901 
905  class DT_DLL_VRVTERRAINEDITOR DtAltitudeSymbolTreeWidgetItemCreator
906  : public DtTerrainEditorPropertyTreeWidgetItemCreator
907  {
908  public:
909 
912  DtAltitudeSymbolTreeWidgetItemCreator(const std::string& key);
913 
918  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
919  };
920 
924  class DT_DLL_VRVTERRAINEDITOR DtBillboardSymbolTreeWidgetItemCreator
925  : public DtTerrainEditorPropertyTreeWidgetItemCreator
926  {
927  public:
928 
931  DtBillboardSymbolTreeWidgetItemCreator(const std::string& key);
932 
937  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
938  };
939 
943  class DT_DLL_VRVTERRAINEDITOR DtCoverageSymbolTreeWidgetItemCreator
944  : public DtTerrainEditorPropertyTreeWidgetItemCreator
945  {
946  public:
947 
950  DtCoverageSymbolTreeWidgetItemCreator(const std::string& key);
951 
956  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
957  };
958 
962  class DT_DLL_VRVTERRAINEDITOR DtExtrusionSymbolTreeWidgetItemCreator
963  : public DtTerrainEditorPropertyTreeWidgetItemCreator
964  {
965  public:
966 
969  DtExtrusionSymbolTreeWidgetItemCreator(const std::string& key);
970 
975  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
976  };
977 
981  class DT_DLL_VRVTERRAINEDITOR DtIconSymbolTreeWidgetItemCreator
982  : public DtTerrainEditorPropertyTreeWidgetItemCreator
983  {
984  public:
985 
988  DtIconSymbolTreeWidgetItemCreator(const std::string& key);
989 
994  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
995  };
996 
1000  class DT_DLL_VRVTERRAINEDITOR DtLineSymbolTreeWidgetItemCreator
1001  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1002  {
1003  public:
1004 
1007  DtLineSymbolTreeWidgetItemCreator(const std::string& key);
1008 
1013  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1014  };
1015 
1016 #ifdef OSGEARTH_HAVE_MARKER
1017 
1021  class DT_DLL_VRVTERRAINEDITOR DtMarkerSymbolTreeWidgetItemCreator
1022  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1023  {
1024  public:
1025 
1028  DtMarkerSymbolTreeWidgetItemCreator(const std::string& key);
1029 
1034  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1035  };
1036 #endif
1037 
1041  class DT_DLL_VRVTERRAINEDITOR DtModelSymbolTreeWidgetItemCreator
1042  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1043  {
1044  public:
1045 
1048  DtModelSymbolTreeWidgetItemCreator(const std::string& key);
1049 
1054  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1055  };
1056 
1060  class DT_DLL_VRVTERRAINEDITOR DtPointSymbolTreeWidgetItemCreator
1061  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1062  {
1063  public:
1064 
1067  DtPointSymbolTreeWidgetItemCreator(const std::string& key);
1068 
1073  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1074  };
1075 
1079  class DT_DLL_VRVTERRAINEDITOR DtPolygonSymbolTreeWidgetItemCreator
1080  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1081  {
1082  public:
1083 
1086  DtPolygonSymbolTreeWidgetItemCreator(const std::string& key);
1087 
1092  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1093  };
1094 
1098  class DT_DLL_VRVTERRAINEDITOR DtRenderSymbolTreeWidgetItemCreator
1099  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1100  {
1101  public:
1102 
1105  DtRenderSymbolTreeWidgetItemCreator(const std::string& key);
1106 
1111  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1112  };
1113 
1117  class DT_DLL_VRVTERRAINEDITOR DtSkinSymbolTreeWidgetItemCreator
1118  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1119  {
1120  public:
1121 
1124  DtSkinSymbolTreeWidgetItemCreator(const std::string& key);
1125 
1130  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1131  };
1132 
1136  class DT_DLL_VRVTERRAINEDITOR DtTextSymbolTreeWidgetItemCreator
1137  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1138  {
1139  public:
1140 
1143  DtTextSymbolTreeWidgetItemCreator(const std::string& key);
1144 
1149  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1150  };
1151 
1155  class DT_DLL_VRVTERRAINEDITOR DtBuildingSymbolTreeWidgetItemCreator
1156  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1157  {
1158  public:
1159 
1162  DtBuildingSymbolTreeWidgetItemCreator(const std::string& key);
1163 
1168  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1169  };
1170 
1174  class DT_DLL_VRVTERRAINEDITOR DtStyleTreeWidgetItemCreator
1175  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1176  {
1177  public:
1178 
1181  DtStyleTreeWidgetItemCreator(const std::string& key);
1182 
1187  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1188  };
1189 
1193  class DT_DLL_VRVTERRAINEDITOR DtResourceLibraryTreeWidgetItemCreator
1194  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1195  {
1196  public:
1197 
1200  DtResourceLibraryTreeWidgetItemCreator(const std::string& key);
1201 
1206  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1207  };
1208 
1212  class DT_DLL_VRVTERRAINEDITOR DtQueryTreeWidgetItemCreator
1213  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1214  {
1215  public:
1216 
1219  DtQueryTreeWidgetItemCreator(const std::string& key);
1220 
1225  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1226  };
1227 
1231  class DT_DLL_VRVTERRAINEDITOR DtStyleSelectorTreeWidgetItemCreator
1232  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1233  {
1234  public:
1235 
1238  DtStyleSelectorTreeWidgetItemCreator(const std::string& key);
1239 
1244  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1245  };
1246 
1250  class DT_DLL_VRVTERRAINEDITOR DtScriptDefTreeWidgetItemCreator
1251  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1252  {
1253  public:
1254 
1257  DtScriptDefTreeWidgetItemCreator(const std::string& key);
1258 
1263  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1264  };
1265 
1269  class DT_DLL_VRVTERRAINEDITOR DtStyleSheetTreeWidgetItemCreator
1270  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1271  {
1272  public:
1273 
1276  DtStyleSheetTreeWidgetItemCreator(const std::string& key);
1277 
1282  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1283  };
1284 }
1285 #endif
Contains DLL export macros.
Definition: featureContext.h:37
Contains the DtTerrainEditorPropertyTreeWidgetItem class declaration.
#define DT_DLL_VRVTERRAINEDITOR
Definition: vrvTerrainEditor.h:25

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)