VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtVectorNetworkTreeInterface.h
Go to the documentation of this file.
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 <vrvCore/DtFeature.h>
00016 
00017 namespace makVrv
00018 {
00019    class DtFaccCode;
00020 
00024    class DT_DLL_VRVCOREQT DtVectorNetworkTreeInterface
00025    {
00026    public:
00027       DtVectorNetworkTreeInterface();
00028 
00029       virtual ~DtVectorNetworkTreeInterface();
00030 
00032       virtual void addLayer(const std::string& layerName) = 0;
00033 
00035       virtual void removeLayer(const std::string& layerName) = 0;
00036 
00038       virtual void showLayer(const std::string& layerName) = 0;
00039 
00041       virtual void hideLayer(const std::string& layerName) = 0;
00042 
00044       virtual void addPointFeature(DtElementID id, const std::string& layerName,
00045          unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
00046 
00048       virtual void addArealFeature(DtElementID id, const std::string& layerName,
00049          unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
00050 
00052       virtual void addLinearFeature(DtElementID id, const std::string& layerName,
00053          unsigned int index, DFAD::FeatureID feature, const DtFaccCode& code) = 0;
00054 
00056       virtual void removeFeature(DtElementID id) = 0;
00057 
00059       virtual void setFeatureSelected(DtElementID id, bool selected) = 0;
00060 
00062       virtual void finishedAdding() = 0;  
00063 
00065       boost::signal<void ()> signal_refresh;
00066 
00068       boost::signal<void (DtElementID id, bool selection)> 
00069          signal_featureSelectionChanged;
00070 
00071    };
00072 }
00073 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)