VR-Forces 4.0.4 Class Documentation
include/vrvCoreQt/DtTerrainContentsLogic.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtTerrainContentsLogic.h,v $ $Revision: 1.6 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #ifndef DtTerrainContentsLogic_H_
00014 #define DtTerrainContentsLogic_H_
00015 
00016 #include <vrvCoreQt/vrvCoreQt.h>
00017 
00018 #include <makArchives/DtTerrainOperationRecord.h>
00019 
00020 #include <QtCore/QStringList>
00021 
00022 namespace makVrv
00023 {
00024    class DtDe;
00025    class DtTerrainContentsInterface;
00026    class DtTerrainPatch;
00027    class DtFeatureLayer;
00028 
00032    class DT_DLL_VRVCOREQT DtTerrainContentsLogic
00033    {
00034 
00035    public:
00036 
00038       DtTerrainContentsLogic( DtDe& de, DtTerrainContentsInterface& iFace);
00039 
00041       ~DtTerrainContentsLogic();
00042 
00047       typedef std::map<std::string, int> IdMap;
00048 
00049    protected:
00050 
00052       void populateWidgetWithContents();
00053 
00055       void slot_terrainPatchAdded(const DtTerrainPatch& terrainPatch);
00056 
00058       void slot_terrainPatchToBeDeleted(const DtTerrainPatch& terrainPatch);
00059 
00061       void slot_featureLayerAdded(const DtFeatureLayer& layer);
00062 
00064       void slot_featureLayerToBeDeleted(const DtFeatureLayer& layer);
00065 
00068       void slot_remove(int id);
00069 
00070    protected:
00071 
00072       DtDe& myDe;
00073       DtTerrainContentsInterface& myGui;
00074       int myNextUniqueId;
00075       IdMap myTerrainPatchMap;
00076       IdMap myFeatureLayerMap;
00077 
00078    };
00079 }
00080 
00081 #endif
00082 

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)