VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtOsgEarthSymbologyTreeWidgetItems.h
Go to the documentation of this file.
1 #if OSGEARTH_UPGRADE_GOOD
2 /*****************************************************************************
3 * Copyright (c) 2019 MAK Technologies, Inc.
4 * All rights reserved.
5 *****************************************************************************/
6 
10 
11 #pragma once
12 
13 #include <osgEarth/Version>
14 #if OSGEARTH_VERSION_LESS_THAN(2,10,0)
15 #define OSGEARTH_HAVE_MARKER 1
16 #endif
17 
20 #include <osgEarth/ResourceLibrary>
21 #include <osgEarth/StyleSheet>
22 #include <osgEarth/AltitudeSymbol>
23 #include <osgEarth/BillboardSymbol>
24 #include <osgEarth/CoverageSymbol>
25 #include <osgEarth/ExtrusionSymbol>
26 #include <osgEarth/IconSymbol>
27 #ifdef OSGEARTH_HAVE_MARKER
28 #include <osgEarth/MarkerSymbol>
29 #endif
30 #include <osgEarth/ModelSymbol>
31 #include <osgEarth/PointSymbol>
32 #include <osgEarth/PolygonSymbol>
33 #include <osgEarth/RenderSymbol>
34 #include <osgEarth/Skins>
35 #include <osgEarth/TextSymbol>
36 #include <osgEarth/Query>
37 #include <osgEarthBuildings/BuildingSymbol>
38 
39 namespace makVrv
40 {
45  class DT_DLL_VRVTERRAINEDITOR DtAltitudeSymbolTreeWidgetItem
46  : public DtTerrainEditorPropertyTreeWidgetItem
47  {
48  Q_OBJECT
49  public:
50  friend class DtAltitudeSymbolTreeWidgetItemCreator;
51 
53  virtual void setupGui();
54 
56  virtual void setAltitudeSymbol(const osgEarth::AltitudeSymbol* symbol);
57 
59  virtual void getAltitudeSymbol(std::string& css);
60 
61  protected:
62 
68  DtAltitudeSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
69 
73  virtual void setClamping(const osgEarth::optional<osgEarth::AltitudeSymbol::Clamping>& clamping,
74  const osgEarth::optional<osgEarth::AltitudeSymbol::Technique>& technique);
75 
78  virtual void setTech(const osgEarth::optional<osgEarth::AltitudeSymbol::Technique>& technique);
79 
82  virtual void setAltitudeBinding(const osgEarth::optional<osgEarth::AltitudeSymbol::Binding>& binding);
83  };
84 
89  class DT_DLL_VRVTERRAINEDITOR DtBillboardSymbolTreeWidgetItem
90  : public DtTerrainEditorPropertyTreeWidgetItem
91  {
92  Q_OBJECT
93  public:
94  friend class DtBillboardSymbolTreeWidgetItemCreator;
95 
97  virtual void setupGui();
98 
100  virtual void setBillboardSymbol(const osgEarth::BillboardSymbol* symbol);
101 
104  virtual void getBillboardSymbol(std::string& css) const;
105 
106  protected:
107 
113  DtBillboardSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
114  };
115 
120  class DT_DLL_VRVTERRAINEDITOR DtCoverageSymbolTreeWidgetItem
121  : public DtTerrainEditorPropertyTreeWidgetItem
122  {
123  Q_OBJECT
124  public:
125  friend class DtCoverageSymbolTreeWidgetItemCreator;
126 
128  virtual void setupGui();
129 
131  virtual void setCoverageSymbol(const osgEarth::CoverageSymbol* symbol);
132 
135  virtual void getCoverageSymbol(std::string& css) const;
136 
137  protected:
138 
144  DtCoverageSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
145  };
146 
151  class DT_DLL_VRVTERRAINEDITOR DtExtrusionSymbolTreeWidgetItem
152  : public DtTerrainEditorPropertyTreeWidgetItem
153  {
154  Q_OBJECT
155  public:
156  friend class DtExtrusionSymbolTreeWidgetItemCreator;
157 
159  virtual void setupGui();
160 
162  virtual void setExtrusionSymbol(const osgEarth::ExtrusionSymbol* symbol);
163 
166  virtual void getExtrusionSymbol(std::string& css) const;
167 
168  protected:
169 
175  DtExtrusionSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
176  };
177 
182  class DT_DLL_VRVTERRAINEDITOR DtIconSymbolTreeWidgetItem
183  : public DtTerrainEditorPropertyTreeWidgetItem
184  {
185  Q_OBJECT
186  public:
187  friend class DtIconSymbolTreeWidgetItemCreator;
188 
190  virtual void setupGui();
191 
193  virtual void setIconSymbol(const osgEarth::IconSymbol* symbol);
194 
197  virtual void getIconSymbol(std::string& css) const;
198 
199  protected:
200 
206  DtIconSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
207 
210  virtual void setIconPlacement(const osgEarth::optional<osgEarth::IconSymbol::Placement>& place);
211 
214  virtual void setIconAlignment(const osgEarth::optional<osgEarth::IconSymbol::Alignment>& align);
215 
216  };
217 
222  class DT_DLL_VRVTERRAINEDITOR DtLineSymbolTreeWidgetItem
223  : public DtTerrainEditorPropertyTreeWidgetItem
224  {
225  Q_OBJECT
226  public:
227  friend class DtLineSymbolTreeWidgetItemCreator;
228 
230  virtual void setupGui();
231 
233  virtual void setLineSymbol(const osgEarth::LineSymbol* symbol);
234 
237  virtual void getLineSymbol(std::string& css) const;
238 
239  protected:
240 
246  DtLineSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
247 
250  virtual void setLineCapStyle(const osgEarth::optional<osgEarth::Stroke::LineCapStyle>& style);
251 
254  virtual void setLineJoinStyle(const osgEarth::optional<osgEarth::Stroke::LineJoinStyle>& style);
255 
256  };
257 
258 #ifdef OSGEARTH_HAVE_MARKER
259  class DT_DLL_VRVTERRAINEDITOR DtMarkerSymbolTreeWidgetItem
265  : public DtTerrainEditorPropertyTreeWidgetItem
266  {
267  Q_OBJECT
268  public:
269  friend class DtMarkerSymbolTreeWidgetItemCreator;
270 
272  virtual void setupGui();
273 
275  virtual void setMarkerSymbol(const osgEarth::MarkerSymbol* symbol);
276 
279  virtual void getMarkerSymbol(std::string& css) const;
280 
281  protected:
282 
288  DtMarkerSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
289 
292  virtual void setPlacement(const osgEarth::optional<osgEarth::MarkerSymbol::Placement>& placement);
293 
296  virtual void setAlignment(const osgEarth::optional<osgEarth::MarkerSymbol::Alignment>& alignment);
297  };
298 #endif
299 
304  class DT_DLL_VRVTERRAINEDITOR DtModelSymbolTreeWidgetItem
305  : public DtTerrainEditorPropertyTreeWidgetItem
306  {
307  Q_OBJECT
308  public:
309  friend class DtModelSymbolTreeWidgetItemCreator;
310 
312  virtual void setupGui();
313 
315  virtual void setModelSymbol(const osgEarth::ModelSymbol* symbol);
316 
318  virtual void getModelSymbol(std::string& css);
319 
320  protected:
321 
327  DtModelSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
328 
331  virtual void setModelPlacement(const osgEarth::optional<osgEarth::ModelSymbol::Placement>& placement);
332  };
333 
338  class DT_DLL_VRVTERRAINEDITOR DtPointSymbolTreeWidgetItem
339  : public DtTerrainEditorPropertyTreeWidgetItem
340  {
341  Q_OBJECT
342  public:
343  friend class DtPointSymbolTreeWidgetItemCreator;
344 
346  virtual void setupGui();
347 
349  virtual void setPointSymbol(const osgEarth::PointSymbol* symbol);
350 
353  virtual void getPointSymbol(std::string& css);
354 
355  protected:
356 
362  DtPointSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
363  };
364 
369  class DT_DLL_VRVTERRAINEDITOR DtPolygonSymbolTreeWidgetItem
370  : public DtTerrainEditorPropertyTreeWidgetItem
371  {
372  Q_OBJECT
373  public:
374  friend class DtPolygonSymbolTreeWidgetItemCreator;
375 
377  virtual void setupGui();
378 
380  virtual void setPolygonSymbol(const osgEarth::PolygonSymbol* symbol);
381 
384  virtual void getPolygonSymbol(std::string& css);
385 
386  protected:
387 
393  DtPolygonSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
394  };
395 
400  class DT_DLL_VRVTERRAINEDITOR DtRenderSymbolTreeWidgetItem
401  : public DtTerrainEditorPropertyTreeWidgetItem
402  {
403  Q_OBJECT
404  public:
405  friend class DtRenderSymbolTreeWidgetItemCreator;
406 
408  virtual void setupGui();
409 
411  virtual void setRenderSymbol(const osgEarth::RenderSymbol* symbol);
412 
415  virtual void getRenderSymbol(std::string& css);
416 
417  protected:
418 
424  DtRenderSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
425  };
426 
432  class DT_DLL_VRVTERRAINEDITOR DtSkinSymbolTreeWidgetItem
433  : public DtTerrainEditorPropertyTreeWidgetItem
434  {
435  Q_OBJECT
436  public:
437  friend class DtSkinSymbolTreeWidgetItemCreator;
438 
440  virtual void setupGui();
441 
443  virtual void setSkinSymbol(const osgEarth::SkinSymbol* symbol);
444 
447  virtual void getSkinSymbol(std::string& css);
448 
449  protected:
450 
456  DtSkinSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
457 
459  virtual void setTagSets(const osgEarth::SkinSymbol* symbol);
460  };
461 
466  class DT_DLL_VRVTERRAINEDITOR DtTextSymbolTreeWidgetItem
467  : public DtTerrainEditorPropertyTreeWidgetItem
468  {
469  Q_OBJECT
470  public:
471  friend class DtTextSymbolTreeWidgetItemCreator;
472 
474  virtual void setupGui();
475 
477  virtual void setTextSymbol(const osgEarth::TextSymbol* symbol);
478 
481  virtual void getTextSymbol(std::string& css);
482 
483  protected:
484 
490  DtTextSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
491 
493  virtual void setBackdropType(const osgEarth::optional<osgText::Text::BackdropType>& type);
494 
496  virtual void setBackdropImplementation(const osgEarth::optional<osgText::Text::BackdropImplementation>& implementation);
497 
499  virtual void setAlignment(const osgEarth::optional<osgEarth::TextSymbol::Alignment>& alignment);
500 
502  virtual void setLayout(const osgEarth::optional<osgEarth::TextSymbol::Layout>& layout);
503 
505  virtual void setEncoding(const osgEarth::optional<osgEarth::TextSymbol::Encoding>& encoding);
506 
507  };
508 
513  class DT_DLL_VRVTERRAINEDITOR DtBuildingSymbolTreeWidgetItem
514  : public DtTerrainEditorPropertyTreeWidgetItem
515  {
516  Q_OBJECT
517  public:
518  friend class DtBuildingSymbolTreeWidgetItemCreator;
519 
521  virtual void setupGui();
522 
524  virtual void setBuildingSymbol(const osgEarth::Buildings::BuildingSymbol* symbol);
525 
528  virtual void getBuildingSymbol(std::string& css);
529 
530  protected:
531 
537  DtBuildingSymbolTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
538  };
539 
545  class DT_DLL_VRVTERRAINEDITOR DtStyleTreeWidgetItem
546  : public DtTerrainEditorPropertyTreeWidgetItem
547  {
548  Q_OBJECT
549  public:
550  friend class DtStyleTreeWidgetItemCreator;
551 
553  virtual void setupGui();
554 
556  virtual void setStyle(const osgEarth::Style* style);
557 
559  virtual std::string getStyle() const;
560 
561  protected:
562 
568  DtStyleTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
569 
572  virtual void setAltitudeSymbol(const osgEarth::AltitudeSymbol* symbol);
573 
576  virtual void setBillboardSymbol(const osgEarth::BillboardSymbol* symbol);
577 
580  virtual void setCoverageSymbol(const osgEarth::CoverageSymbol* symbol);
581 
585  virtual void setExtrusionSymbol(const osgEarth::ExtrusionSymbol* symbol);
586 
589  virtual void setIconSymbol(const osgEarth::IconSymbol* symbol);
590 
593  virtual void setLineSymbol(const osgEarth::LineSymbol* symbol);
594 
595 #ifdef OSGEARTH_HAVE_MARKER
596  virtual void setMarkerSymbol(const osgEarth::MarkerSymbol* symbol);
600 #endif
601 
604  virtual void setModelSymbol(const osgEarth::ModelSymbol* symbol);
605 
608  virtual void setPointSymbol(const osgEarth::PointSymbol* symbol);
609 
612  virtual void setPolygonSymbol(const osgEarth::PolygonSymbol* symbol);
613 
616  virtual void setRenderSymbol(const osgEarth::RenderSymbol* symbol);
617 
621  virtual void setSkinSymbol(const osgEarth::SkinSymbol* symbol);
622 
625  virtual void setTextSymbol(const osgEarth::TextSymbol* symbol);
626 
629  virtual void setBuildingSymbol(const osgEarth::Buildings::BuildingSymbol* symbol);
630 
633  virtual void getAltitudeSymbol(std::string& css) const;
634 
637  virtual void getBillboardSymbol(std::string& css) const;
638 
641  virtual void getCoverageSymbol(std::string& css) const;
642 
645  virtual void getExtrusionSymbol(std::string& css) const;
646 
649  virtual void getIconSymbol(std::string& css) const;
650 
653  virtual void getLineSymbol(std::string& css) const;
654 
655 #ifdef OSGEARTH_HAVE_MARKER
656  virtual void getMarkerSymbol(std::string& css) const;
659 #endif
660 
663  virtual void getModelSymbol(std::string& css) const;
664 
667  virtual void getPointSymbol(std::string& css) const;
668 
671  virtual void getPolygonSymbol(std::string& css) const;
672 
675  virtual void getRenderSymbol(std::string& css) const;
676 
679  virtual void getSkinSymbol(std::string& css) const;
680 
683  virtual void getTextSymbol(std::string& css) const;
684 
687  virtual void getBuildingSymbol(std::string& css) const;
688  };
689 
695  class DT_DLL_VRVTERRAINEDITOR DtResourceLibraryTreeWidgetItem
696  : public DtTerrainEditorPropertyTreeWidgetItem
697  {
698  Q_OBJECT
699  public:
700  friend class DtResourceLibraryTreeWidgetItemCreator;
701 
703  virtual void setupGui();
704 
706  virtual void setResourceLibrary(const osgEarth::Config& library);
707 
709  virtual osgEarth::ResourceLibrary* getResourceLibrary() const;
710 
711  protected:
712 
718  DtResourceLibraryTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
719  };
720 
726  class DT_DLL_VRVTERRAINEDITOR DtQueryTreeWidgetItem
727  : public DtTerrainEditorPropertyTreeWidgetItem
728  {
729  Q_OBJECT
730  public:
731  friend class DtQueryTreeWidgetItemCreator;
732 
734  virtual void setupGui();
735 
737  virtual void setQuery(const osgEarth::Query& query);
738 
740  virtual void getQuery(osgEarth::Query& query) const;
741 
742  protected:
743 
749  DtQueryTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
750 
753  virtual void setBounds(const osgEarth::optional<osgEarth::Bounds>& bounds);
754 
757  virtual void getBounds(osgEarth::optional<osgEarth::Bounds>& bounds) const;
758 
759  };
760 
768  class DT_DLL_VRVTERRAINEDITOR DtStyleSelectorTreeWidgetItem
769  : public DtTerrainEditorPropertyTreeWidgetItem
770  {
771  Q_OBJECT
772  public:
773  friend class DtStyleSelectorTreeWidgetItemCreator;
774 
776  virtual void setupGui();
777 
779  virtual void setStyleSelector(const osgEarth::StyleSelector& selector);
780 
782  virtual osgEarth::StyleSelector getStyleSelector() const;
783 
784  protected:
785 
791  DtStyleSelectorTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
792 
795  virtual void setQuery(const osgEarth::optional<osgEarth::Query>& query);
796 
799  virtual void getQuery(osgEarth::optional<osgEarth::Query>& query) const;
800 
801  };
802 
807  class DT_DLL_VRVTERRAINEDITOR DtScriptDefTreeWidgetItem
808  : public DtTerrainEditorPropertyTreeWidgetItem
809  {
810  Q_OBJECT
811  public:
812  friend class DtScriptDefTreeWidgetItemCreator;
813 
815  virtual void setupGui();
816 
818  virtual void setScriptDef(osgEarth::StyleSheet::ScriptDef* script);
819 
821  virtual osgEarth::StyleSheet::ScriptDef* getScriptDef();
822 
823  protected:
824 
830  DtScriptDefTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
831 
832  };
833 
838  class DT_DLL_VRVTERRAINEDITOR DtStyleSheetTreeWidgetItem
839  : public DtTerrainEditorPropertyTreeWidgetItem
840  {
841  Q_OBJECT
842  public:
843  friend class DtStyleSheetTreeWidgetItemCreator;
844 
846  virtual void setupGui();
847 
849  virtual void setStyleSheet(const osg::ref_ptr<osgEarth::StyleSheet>& styleSheet);
850 
852  virtual void getStyleSheet(osg::ref_ptr<osgEarth::StyleSheet>& styleSheet) const;
853 
855  virtual void populateContextMenu(QMenu* menu);
856 
857  protected:
858 
864  DtStyleSheetTreeWidgetItem(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
865 
868  virtual void setResourceLibraries(const osgEarth::Config& conf);
869 
872  virtual void getResourceLibraries(osgEarth::StyleSheet* sheet) const;
873 
876  virtual void setStyles(osgEarth::StyleSheet* sheet);
877 
880  virtual void getStyles(osgEarth::StyleSheet* sheet) const;
881 
884  virtual void setScript(osgEarth::StyleSheet::ScriptDef* def);
885 
887  virtual osgEarth::StyleSheet::ScriptDef* getScript() const;
888 
891  virtual void setSelectors(const osgEarth::StyleSelectors& list);
892 
895  virtual void getSelectors(osgEarth::StyleSelectors& list) const;
896 
897  };
898 
902  class DT_DLL_VRVTERRAINEDITOR DtAltitudeSymbolTreeWidgetItemCreator
903  : public DtTerrainEditorPropertyTreeWidgetItemCreator
904  {
905  public:
906 
909  DtAltitudeSymbolTreeWidgetItemCreator(const std::string& key);
910 
915  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
916  };
917 
921  class DT_DLL_VRVTERRAINEDITOR DtBillboardSymbolTreeWidgetItemCreator
922  : public DtTerrainEditorPropertyTreeWidgetItemCreator
923  {
924  public:
925 
928  DtBillboardSymbolTreeWidgetItemCreator(const std::string& key);
929 
934  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
935  };
936 
940  class DT_DLL_VRVTERRAINEDITOR DtCoverageSymbolTreeWidgetItemCreator
941  : public DtTerrainEditorPropertyTreeWidgetItemCreator
942  {
943  public:
944 
947  DtCoverageSymbolTreeWidgetItemCreator(const std::string& key);
948 
953  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
954  };
955 
959  class DT_DLL_VRVTERRAINEDITOR DtExtrusionSymbolTreeWidgetItemCreator
960  : public DtTerrainEditorPropertyTreeWidgetItemCreator
961  {
962  public:
963 
966  DtExtrusionSymbolTreeWidgetItemCreator(const std::string& key);
967 
972  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
973  };
974 
978  class DT_DLL_VRVTERRAINEDITOR DtIconSymbolTreeWidgetItemCreator
979  : public DtTerrainEditorPropertyTreeWidgetItemCreator
980  {
981  public:
982 
985  DtIconSymbolTreeWidgetItemCreator(const std::string& key);
986 
991  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
992  };
993 
997  class DT_DLL_VRVTERRAINEDITOR DtLineSymbolTreeWidgetItemCreator
998  : public DtTerrainEditorPropertyTreeWidgetItemCreator
999  {
1000  public:
1001 
1004  DtLineSymbolTreeWidgetItemCreator(const std::string& key);
1005 
1010  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1011  };
1012 
1013 #ifdef OSGEARTH_HAVE_MARKER
1014 
1018  class DT_DLL_VRVTERRAINEDITOR DtMarkerSymbolTreeWidgetItemCreator
1019  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1020  {
1021  public:
1022 
1025  DtMarkerSymbolTreeWidgetItemCreator(const std::string& key);
1026 
1031  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1032  };
1033 #endif
1034 
1038  class DT_DLL_VRVTERRAINEDITOR DtModelSymbolTreeWidgetItemCreator
1039  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1040  {
1041  public:
1042 
1045  DtModelSymbolTreeWidgetItemCreator(const std::string& key);
1046 
1051  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1052  };
1053 
1057  class DT_DLL_VRVTERRAINEDITOR DtPointSymbolTreeWidgetItemCreator
1058  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1059  {
1060  public:
1061 
1064  DtPointSymbolTreeWidgetItemCreator(const std::string& key);
1065 
1070  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1071  };
1072 
1076  class DT_DLL_VRVTERRAINEDITOR DtPolygonSymbolTreeWidgetItemCreator
1077  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1078  {
1079  public:
1080 
1083  DtPolygonSymbolTreeWidgetItemCreator(const std::string& key);
1084 
1089  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1090  };
1091 
1095  class DT_DLL_VRVTERRAINEDITOR DtRenderSymbolTreeWidgetItemCreator
1096  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1097  {
1098  public:
1099 
1102  DtRenderSymbolTreeWidgetItemCreator(const std::string& key);
1103 
1108  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1109  };
1110 
1114  class DT_DLL_VRVTERRAINEDITOR DtSkinSymbolTreeWidgetItemCreator
1115  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1116  {
1117  public:
1118 
1121  DtSkinSymbolTreeWidgetItemCreator(const std::string& key);
1122 
1127  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1128  };
1129 
1133  class DT_DLL_VRVTERRAINEDITOR DtTextSymbolTreeWidgetItemCreator
1134  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1135  {
1136  public:
1137 
1140  DtTextSymbolTreeWidgetItemCreator(const std::string& key);
1141 
1146  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1147  };
1148 
1152  class DT_DLL_VRVTERRAINEDITOR DtBuildingSymbolTreeWidgetItemCreator
1153  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1154  {
1155  public:
1156 
1159  DtBuildingSymbolTreeWidgetItemCreator(const std::string& key);
1160 
1165  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1166  };
1167 
1171  class DT_DLL_VRVTERRAINEDITOR DtStyleTreeWidgetItemCreator
1172  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1173  {
1174  public:
1175 
1178  DtStyleTreeWidgetItemCreator(const std::string& key);
1179 
1184  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1185  };
1186 
1190  class DT_DLL_VRVTERRAINEDITOR DtResourceLibraryTreeWidgetItemCreator
1191  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1192  {
1193  public:
1194 
1197  DtResourceLibraryTreeWidgetItemCreator(const std::string& key);
1198 
1203  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1204  };
1205 
1209  class DT_DLL_VRVTERRAINEDITOR DtQueryTreeWidgetItemCreator
1210  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1211  {
1212  public:
1213 
1216  DtQueryTreeWidgetItemCreator(const std::string& key);
1217 
1222  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1223  };
1224 
1228  class DT_DLL_VRVTERRAINEDITOR DtStyleSelectorTreeWidgetItemCreator
1229  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1230  {
1231  public:
1232 
1235  DtStyleSelectorTreeWidgetItemCreator(const std::string& key);
1236 
1241  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1242  };
1243 
1247  class DT_DLL_VRVTERRAINEDITOR DtScriptDefTreeWidgetItemCreator
1248  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1249  {
1250  public:
1251 
1254  DtScriptDefTreeWidgetItemCreator(const std::string& key);
1255 
1260  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1261  };
1262 
1266  class DT_DLL_VRVTERRAINEDITOR DtStyleSheetTreeWidgetItemCreator
1267  : public DtTerrainEditorPropertyTreeWidgetItemCreator
1268  {
1269  public:
1270 
1273  DtStyleSheetTreeWidgetItemCreator(const std::string& key);
1274 
1279  virtual DtTerrainEditorPropertyTreeWidgetItem* create(QTreeWidget* parentTree, DtDe& de, const DtOsgEarthPropertyItemKey& key);
1280  };
1281 }
1282 #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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)