VR-Forces 4.2 Class Documentation
DtVrfTerrain.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include <vrfGuiCore/vrfGuiCore.h>
15 #include <vrvCore/DtTerrain.h>
16 
17 namespace makVrf
18 {
19 
21  class DT_DLL_VRFGUICORE DtVrfTerrain : public makVrv::DtTerrain
22  {
23  public:
24  DtVrfTerrain(makVrv::DtDe& de, makVrv::DtAgentManagerInterface& sceneManagerInterface) :
25  DtTerrain(de, sceneManagerInterface)
26  {
27  }
28 
29  virtual ~DtVrfTerrain()
30  {
31  }
32 
34  boost::signal<void (const makArchives::DtTerrainRecord&)> signal_terrainRecordSet;
35 
36  virtual void setFromRecord(const makArchives::DtTerrainRecord& r)
37  {
38  DtTerrain::setFromRecord(r);
39 
40  signal_terrainRecordSet(r);
41  }
42  };
43 
45  class DT_DLL_VRFGUICORE DtVrfTerrainCreator : public makVrv::DtTerrainCreator
46  {
47  public:
48  virtual makVrv::DtTerrain* create( makVrv::DtDe& de,
49  makVrv::DtAgentManagerInterface& agentManager )
50  {
51  return new DtVrfTerrain(de, agentManager);
52  }
53  };
54 }

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)