VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
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
35
class
DT_DLL_VRVCORE
DtTerrainLayer
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
:
72
DtDe
&
myDe
;
73
DtAgentManagerInterface
&
mySceneInterface
;
74
75
private
:
76
PropMap
myProps
;
77
PropNameSet
myPropNames
;
78
};
79
}
Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)