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
DtFeatureLayer.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2008 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtFeatureLayer.h,v $ $Revision: 1.17 $ $State: Exp $
7
******************************************************************************/
8
12
13
#pragma once
14
#include <
vrvCore/DtTerrainLayer.h
>
15
#include <
vrvCore/DtFeatureSet.h
>
16
#include <
makArchives/DtAddPropsRuleRecord.h
>
17
18
namespace
makArchives
19
{
20
class
DtFeatureLayerRecord;
21
}
22
23
namespace
makVrv
24
{
28
class
DT_DLL_VRVCORE
DtFeatureLayer
:
public
DtTerrainLayer
29
{
30
public
:
31
33
DtFeatureLayer
(
DtDe
& de,
DtAgentManagerInterface
& sceneInterface,
34
const
std::string& filename,
bool
simOnly=
false
);
35
37
~
DtFeatureLayer
();
38
40
virtual
void
getRecord(
makArchives::DtFeatureLayerRecord
& rec)
const
;
41
43
virtual
void
setFromRecord(
const
makArchives::DtFeatureLayerRecord
& rec);
44
46
47
49
virtual
void
addProps(
const
makArchives::DtAddPropsRuleRecord
& rule);
50
52
const
makArchives::DtAddPropsRuleRecordVector
& addPropsRules()
const
;
53
55
57
const
std::string& filename()
const
;
58
60
bool
simOnly()
const
;
61
63
64
DtFeatureSet
& featureSet();
65
const
DtFeatureSet
& featureSet()
const
;
67
69
DtFeature
* findFeature(
DtElementID
id
);
70
72
bool
destroyFeature(
DtElementID
id
);
73
74
protected
:
75
76
void
loadFeatures();
77
void
showFeatures();
78
void
groundClampFeatures();
79
void
checkForDisplayFeatureChanged(
int
mode,
int
setting,
bool
state);
80
81
private
:
82
83
std::string
myFilename
;
84
makArchives::DtAddPropsRuleRecordVector
myAddPropsRules
;
85
DtFeatureSet
myFeatures
;
86
bool
mysimOnly
;
87
};
88
}
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
)