VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVectorNetworkTreeInterface.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCoreQt/vrvCoreQt.h>
15 #include <vrvCore/DtFeature.h>
16 
17 namespace makVrv
18 {
19  class DtFaccCode;
20 
25  {
26  public:
28 
30 
32  virtual void addLayer(const std::string& layerName) = 0;
33 
35  virtual void removeLayer(const std::string& layerName) = 0;
36 
38  virtual void showLayer(const std::string& layerName) = 0;
39 
41  virtual void hideLayer(const std::string& layerName) = 0;
42 
44  virtual void addPointFeature(DtElementID id, const std::string& layerName,
45  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
46 
48  virtual void addArealFeature(DtElementID id, const std::string& layerName,
49  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
50 
52  virtual void addLinearFeature(DtElementID id, const std::string& layerName,
53  unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
54 
56  virtual void removeFeature(DtElementID id) = 0;
57 
59  virtual void setFeatureSelected(DtElementID id, bool selected) = 0;
60 
62  virtual void finishedAdding() = 0;
63 
65  boost::signal<void ()> signal_refresh;
66 
68  boost::signal<void (DtElementID id, bool selection)>
70 
71  };
72 }
73 
unsigned int FeatureID
Definition: DtFeature.h:24
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
A data type which represents a FACC code.
Definition: DtFaccCode.h:22
Contains DLL export macros.
DtUniqueID DtElementID
The ElementID is a specific type of unique ID used to represent VR-Vantage uniquely defined elements...
Definition: DtUniqueID.h:26
boost::signal< void()> signal_refresh
Signal to the logic to resend all data to the gui.
Definition: DtVectorNetworkTreeInterface.h:65
Contains makVrv::DtFeature class.
The interface used by the DtVectorNetworkTreeWidget and the DtVectorNetworkTreeLogic.
Definition: DtVectorNetworkTreeInterface.h:24
boost::signal< void(DtElementID id, bool selection)> signal_featureSelectionChanged
Signal to the logic that a point was selected.
Definition: DtVectorNetworkTreeInterface.h:69

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)