VR-Forces 4.1.1 Class Documentation
DtTerrainContentsLogic.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtTerrainContentsLogic.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtTerrainContentsLogic_H_
14 #define DtTerrainContentsLogic_H_
15 
16 #include <vrvCoreQt/vrvCoreQt.h>
18 
20 
21 
22 namespace makVrv
23 {
24  class DtDe;
25  class DtTerrainContentsInterface;
26  class DtTerrainPatch;
27  class DtFeatureLayer;
28 
33  {
34 
35  public:
37 
40 
45  typedef std::map<std::string, int> IdMap;
46 
47  protected:
48 
52 
56  void populateWidgetWithContents();
57 
60  virtual void slot_terrainPatchAdded(const DtTerrainPatch& terrainPatch);
61 
64  virtual void slot_terrainPatchToBeDeleted(const DtTerrainPatch& terrainPatch);
65 
68  virtual void slot_featureLayerAdded(const DtFeatureLayer& layer);
69 
72  virtual void slot_featureLayerToBeDeleted(const DtFeatureLayer& layer);
73 
76  virtual void slot_remove(int id);
77 
78  protected:
79 
85 
86  };
87 
88 
92  : public DtVirtualBaseClass
93  {
94  public:
95 
96  // Get the creator instance for this DE object. Creates instance if none found
97  static DtTerrainContentsLogicCreator& instance( DtDe& de );
98 
99  static void registerInstance( DtDe& de, DtTerrainContentsLogicCreator* creator );
100 
101  //Create the widget's logic.
102  static DtTerrainContentsLogic* create( DtDe& de, DtTerrainContentsInterface& iface ) ;
103  };
104 }
105 
106 #endif
107 

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)