VR-Vantage API Documentation
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 #include <map>
17 
18 namespace makArchives
19 {
20  class DtPropRecord;
21 }
22 
23 namespace makVrv
24 {
25  class DtDe;
26  class DtProp;
27  class DtAgentManagerInterface;
28 
33  {
34  public:
36  typedef std::map<DtUniqueID,DtProp*> PropMap;
37 
39  DtTerrainLayer(DtDe& de, DtAgentManagerInterface& sceneInterface);
40 
42  virtual ~DtTerrainLayer();
43 
46  virtual void addProp(DtProp* prop);
47 
49  virtual bool addPropFromRecord(const makArchives::DtPropRecord& record);
50 
53  virtual DtProp* findProp(DtUniqueID id);
54 
57  virtual bool destroyProp(DtUniqueID id);
58 
60  const PropMap& props() const;
61 
62  protected:
65 
66  private:
68  };
69 }


Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)