VR-Forces 4.6 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
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/DtSelectionManager.h
>
16
#include <
vrvCore/DtUniqueID.h
>
17
18
#include <map>
19
20
#include <boost/unordered_set.hpp>
21
22
namespace
makArchives
23
{
24
class
DtPropRecord;
25
}
26
27
namespace
makVrv
28
{
29
class
DtDe;
30
class
DtProp;
31
class
DtAgentManagerInterface;
32
36
class
DT_DLL_VRVCORE
DtTerrainLayer
37
{
38
public
:
40
typedef
std::map<DtUniqueID,DtProp*>
PropMap
;
41
43
typedef
boost::unordered_set<std::string>
PropNameSet
;
44
46
DtTerrainLayer
(
DtDe
& de,
DtAgentManagerInterface
& sceneInterface);
47
49
virtual
~
DtTerrainLayer
();
50
53
virtual
void
addProp(
DtProp
* prop);
54
56
virtual
bool
addPropFromRecord(
const
makArchives::DtPropRecord
& record);
57
60
virtual
DtProp
* findProp(
DtUniqueID
id
);
61
64
virtual
bool
destroyProp(
DtUniqueID
id
);
65
67
const
PropMap
& props()
const
;
68
70
const
PropNameSet
& propNames()
const
;
71
73
boost::signal<void (
const
DtSelectionManager::IdSet
& selected,
74
const
DtSelectionManager::IdSet
& deselected)>
signal_currentSelectionChanged
;
75
76
void
selectionChanged(
const
DtSelectionManager::IdSet
& selected,
77
const
DtSelectionManager::IdSet
& de);
78
79
protected
:
80
DtDe
&
myDe
;
81
DtAgentManagerInterface
&
mySceneInterface
;
82
83
private
:
84
PropMap
myProps
;
85
PropNameSet
myPropNames
;
86
};
87
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)