VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
osgdb_osgearth_model_cdb
DtCDBSpeedTree.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright(c) 2016 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
#include <osgDB/XmlParser>
12
#include <string>
13
#include <map>
14
15
namespace
makVrv {
namespace
oe {
namespace
CDB {
16
18
class
DtCDBSpeedTreeTable
:
public
osg::Referenced
19
{
20
public
:
21
23
DtCDBSpeedTreeTable
();
25
void
add
(
const
std::string& GTmodel,
const
std::string& speedTree);
27
void
clear
();
29
int
size
();
31
bool
getSpeedTree
(
const
std::string& GTmodel, std::string& speedTree)
const
;
32
33
private
:
34
36
typedef
std::map < std::string, std::string >
SpeedTreeMapType
;
37
39
SpeedTreeMapType
mySpeedTreeMap
;
40
41
};
42
45
class
DtCDBSpeedTreeUtil
46
{
47
48
public
:
50
static
void
loadSpeedTreeTableFromXML
(
const
std::string& fileName,
DtCDBSpeedTreeTable
& speedTreeTable);
51
52
};
53
54
} } }
// namespace makVrv::oe::CDB
Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (
www.mak.com
)