VR-Forces 4.6 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 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)