VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfTacticalGraphicOverlayTreeLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
13 #include <vrvCore/DtUniqueID.h>
17 #include <boost/signals2.hpp>
18 
19 namespace makVrv
20 {
21  class DtDe;
22 }
23 
25 
26 namespace makVrf
27 {
28  class DtVrfTacticalGraphicOverlayTreeWidget;
29 
33  {
34 
35  public:
36 
39 
42 
43  protected:
44 
46  virtual void slot_addOverlay();
47 
49  virtual void slot_removeOverlay(const std::string& name);
50 
52  virtual void slot_lockOverlay(const std::string& name, bool flag);
53 
55  virtual void slot_renameOverlay(const std::string& oldName, const std::string& newName);
56 
58  virtual void slot_itemMovedToOverlay(const makVrv::DtUniqueID& id, const std::string&);
59 
61  virtual void slot_overlayAdded(const std::string& name);
62 
64  virtual void slot_selectItems(const makVrv::DtSelectionManager::IdSet&);
65 
67  virtual void slot_scenarioClosed();
68 
70  virtual void slot_preloadScenario(const DtScenarioLoadInformation& s);
71 
73  virtual void slot_postloadScenario(const DtScenarioLoadInformation& s);
74 
76  virtual void clearTacticalGraphics(bool onlyIfAllVRFSimulated = false);
77 
78  virtual void slot_layerVisibilityChanged(const std::string& s, int b);
79  virtual void slot_layerLockStatusChanged(const std::string& s, bool b);
80 
81  virtual void slot_overlaySelected(const std::string& name);
82 
83  virtual void delayedSelectionChange();
84  virtual void slot_selMgrCurrentSelectionChanged(
85  const makVrv::DtSelectionManager::IdSet& selected,
86  const makVrv::DtSelectionManager::IdSet& deselected);
87 
88  virtual void slot_saveOverlayAsShapeFiles(const std::string&);
89  virtual void slot_importShapeFileAsOverlay(const std::string&);
90 
91  virtual void slot_tacticalGraphicOverlayRenamed( const makVrv::DtUniqueID& id, const std::string& name );
92  virtual void slot_tacticalGraphicRemoved( const makVrv::DtUniqueID& id);
93 
94  virtual void canImportShapeFile();
95 
96  virtual void finalizeExportCheck();
97 
98  virtual void waitingForScenarioObjectsToBeDiscovered();
99  virtual void slot_objectVisibilityChanged(makVrv::DtUniqueID, bool);
100 
101  protected:
103 
104  std::set<std::string> myCheckForExport;
105  boost::signals2::connection myExportCheck;
106 
108  };
109 }
110 
boost::signals2::connection myExportCheck
Definition: vrfTacticalGraphicOverlayTreeLogic.h:105
#define DT_DLL_VRFGUICOREQT
Definition: vrfGuiCoreQt.h:26
Contains makVrv:DtSelectionManager class.
DtVrfTacticalGraphicOverlayTreeWidget * myVrfWidget
Definition: vrfTacticalGraphicOverlayTreeLogic.h:102
The logic for populating and managing the DtTGOverlaysTreeWidget.
Definition: vrfTacticalGraphicOverlayTreeLogic.h:32
Contains makVrv::DtTacticalGraphicOverlayTreeLogic class.
Contains makVrv::DtVirtualBaseClass class.
The logic for populating and managing the DtTacticalGraphicOverlayTreeWidget.
Definition: DtTacticalGraphicOverlayTreeLogic.h:27
std::set< std::string > myCheckForExport
Definition: vrfTacticalGraphicOverlayTreeLogic.h:104
The tactical graphics overlay tree widget displays the tree representing the Tactical Graphic Overlay...
Definition: vrfTacticalGraphicOverlayTreeWidget.h:37
bool myWaitingForScenarioObjects
Definition: vrfTacticalGraphicOverlayTreeLogic.h:107
The interface used by the DtTacticalGraphicOverlaysTreeWidget and the DtTacticalGraphicsTreeWidgetLog...
Definition: DtTacticalGraphicOverlayTreeInterface.h:19
Base class to provide boost signal/slot management.
Contains makVrv::DtUniqueID type.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Definition: scenario.h:616
std::set< DtUniqueID > IdSet
Definition: DtSelectionManager.h:32

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)