VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtTerrainLayer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtTerrainLayer.h,v $ $Revision: 1.10 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/vrvCore.h>
15 #include <vrvCore/DtUniqueID.h>
16 
17 #include <map>
18 
19 #include <boost/unordered_set.hpp>
20 
21 namespace makArchives
22 {
23  class DtPropRecord;
24 }
25 
26 namespace makVrv
27 {
28  class DtDe;
29  class DtProp;
30  class DtAgentManagerInterface;
31 
36  {
37  public:
39  typedef std::map<DtUniqueID,DtProp*> PropMap;
40 
42  typedef boost::unordered_set<std::string> PropNameSet;
43 
45  DtTerrainLayer(DtDe& de, DtAgentManagerInterface& sceneInterface);
46 
48  virtual ~DtTerrainLayer();
49 
52  virtual void addProp(DtProp* prop);
53 
55  virtual bool addPropFromRecord(const makArchives::DtPropRecord& record);
56 
59  virtual DtProp* findProp(DtUniqueID id);
60 
63  virtual bool destroyProp(DtUniqueID id);
64 
66  const PropMap& props() const;
67 
69  const PropNameSet& propNames() const;
70 
71  protected:
74 
75  private:
78  };
79 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)