VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtCDBSpeedTree.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright(c) 2025 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 
14 #include <osgDB/XmlParser>
15 #include <string>
16 #include <map>
17 
18 namespace makVrv { namespace oe { namespace CDB {
19 
21  class DT_DLL_OSGEARTH_CDB_UTILS DtCDBSpeedTreeTable : public osg::Referenced
22  {
23  public:
24 
28  void add(const std::string& GTmodel, const std::string& speedTree);
30  void clear();
32  int size();
34  bool getSpeedTree(const std::string& GTmodel, std::string& speedTree) const;
35 
36  private:
37 
39  typedef std::map < std::string, std::string > SpeedTreeMapType;
40 
43 
44  };
45 
49  {
50 
51  public:
53  static void loadSpeedTreeTableFromXML(const std::string& fileName, DtCDBSpeedTreeTable& speedTreeTable);
54 
55  };
56 
57 } } } // namespace makVrv::oe::CDB
#define DT_DLL_OSGEARTH_CDB_UTILS
Definition: DtCDBExport.h:18
voidpf void uLong size
Definition: ioapi.h:39
SpeedTreeMapType mySpeedTreeMap
CDB GT tree model filename to speedtree map.
Definition: DtCDBSpeedTree.h:42
CDB Speed Tree information class.
Definition: DtCDBSpeedTree.h:21
Speed Tree Utility Class.
Definition: DtCDBSpeedTree.h:48
std::map< std::string, std::string > SpeedTreeMapType
type definition for speedtree map
Definition: DtCDBSpeedTree.h:39

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)