![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2010 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: $ $Revision: $ $State: $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvCoreQt/vrvCoreQt.h> 00015 #include <vrvUtil/DtSignalConnectionManager.h> 00016 #include <vrvCore/DtSelectionManager.h> 00017 00018 namespace makVrv 00019 { 00020 class DtVectorNetworkTreeInterface; 00021 class DtFeatureLayer; 00022 00025 class DT_DLL_VRVCOREQT DtVectorNetworkTreeLogic 00026 { 00027 public: 00028 DtVectorNetworkTreeLogic(DtDe& de, DtVectorNetworkTreeInterface* iface); 00029 ~DtVectorNetworkTreeLogic(); 00030 00031 protected: 00032 00033 void slot_refreshWidget(); 00034 void slot_featureLayerAdded(const DtFeatureLayer&); 00035 void slot_featureLayerRemoved(const DtFeatureLayer&); 00036 void slot_selectionChanged(const DtSelectionManager::IdSet& selected, 00037 const DtSelectionManager::IdSet& deselected, 00038 DtSelectionManager::SelectionType newType, 00039 DtSelectionManager::SelectionType oldType); 00040 00041 void slot_changeFeatureSelection(DtElementID id, bool selection ); 00042 00043 void addFeatureLayer(const DtFeatureLayer&); 00044 void removeFeatureLayer(const DtFeatureLayer&); 00045 00046 protected: 00047 DtDe& myDe; 00048 DtVectorNetworkTreeInterface* myWidget; 00049 DtSignalConnectionManager myManager; 00050 }; 00051 } 00052